mattbreeden 24 days ago [-]
See lots of people suggesting random things to learn vim, I'll throw one more on. Just run vimtutor in your terminal. I ran through that two times and felt comfortable enough to switch to it
damck 24 days ago [-]
Vim should be learned by blood sweat and tears Or you could just curse the random box you ssh into for not having nano
dunham 24 days ago [-]
> Vim should be learned by blood sweat and tears

or learned via nethack.

To be honest, I know vi and emacs, and curse fresh Linux installs for having some weird editor with completely foreign control keys. :) Dunno if it's nano or something else, but it's mildly annoying to me. I tend to just uninstall it rather than muck around with the "alternatives" system.

panpanna 23 days ago [-]
Try openbsd then.

Default editor is mg, which is basically a micro-emacs reincarnation

aquabeagle 23 days ago [-]
The default editor is vi.
rhinoceraptor 23 days ago [-]
Ed is the standard text editor.
__Joker 24 days ago [-]
True that. But this games some times help you with discoverability. In the sense that, sometimes you might not know if there is a way to do X.
dang 25 days ago [-]
smitty1e 24 days ago [-]
Quite worthwhile: https://vimvalley.com/

I have no connection whatsoever with the author, but VimValley was a great way to get into http://spacemacs.org/

ethan-sorrell 24 days ago [-]
It's worth mentioning that registration is required to access a few trial tutorials with depth akin to vimtutor, then the full course is $99.
smitty1e 24 days ago [-]
And also worth paying, in my opinion.
freehunter 24 days ago [-]
Worth paying $100 to access a tutorial? When the program itself comes with a tutorial built in? Can you give a quick review of what makes this tutorial worth $100 versus any other free or cheaper tutorial?
chipotle_coyote 24 days ago [-]
There's a lot -- I mean, a lot -- that the built-in Vim tutorial doesn't even try to cover. It was enough to make me feel like I was "good enough" with Vim, even though I rarely used it for editing anything more substantial than git commit messages and config files, and if that's what you want out of Vim it's fine! But I bought the ebook version last month of Practical Vim when the publisher was running a "Christmas in July" sale, and it is kind of mind-blowing. (How did I not know about the ":find" command, and why do I need the ctrlp.vim plugin now that I do?)

As to the question about the $100 tutorial, though, that's... well, a lot, but I suppose it depends on whether "Vim Valley" takes an approach that "clicks" for you in ways other things don't. Practical Vim is $23 for a DRM-free ebook, and it has a lot of hands-on exercises; I learn pretty well that way, I've found.

museinmotion 24 days ago [-]
Exactly. I did the built in tutorial and read a bunch of online info on Vim but never really grokked it for years until I decided to really focus on it for a while. There are a few concepts like talking to Vim like a person (which I included in the free portion of the course) that really helped it click for me.

There's a ton of free info on Vim around and it's perfectly viable to learn it on your own that way, it will just take a lot longer. Obviously I'm biased, since I made Vim Valley to be exactly what I think is the fastest and most enjoyable way to learn Vim.

earenndil 24 days ago [-]
I never used any such course, and am still proficient in vim. I would not take, or recommend to take, such a course.
shrewduser 24 days ago [-]
10 bucks? i'd give it a go but it's more than most AAA games.... for a tutorial.
random42 24 days ago [-]
Are you sure you have "no connection whatsoever" with them?
smitty1e 23 days ago [-]
Specifically, I was neither encouraged nor shall I receive any compensation for putting that link here.

If you choose to disbelieve me, that is your choice.

museinmotion 24 days ago [-]
I'm the author of the course, thanks for the kind words! This man of impeccable taste does indeed have no connection to me, learned of this comment because I checked referral logs after I was getting a bunch of signups from Hackernews :)
ragona 24 days ago [-]
Oh hey that's super helpful, thanks.
ragona 24 days ago [-]
Update: The JS on this site frequently crashes on a fully updated Linux Firefox browser. It's neat so I honestly would have paid, but it just freezes up during some of the later exercises.
museinmotion 24 days ago [-]
Hi, I'm the author of the course. Sorry the site isn't cooperating with your browser. I tested it fairly thoroughly on all browsers when I launched it, but that was 3 years ago. It's entirely possible Firefox may have deprecated some of the more obscure JS I used since then.

If you email me the details of the bug(s) you're running into to hello@vimvalley.com I can try to get them fixed. Otherwise if you're not averse to Chrome everything should work fine with Chrome on Linux.

freedomben 24 days ago [-]
If you have docker installed, you can run it (nearly) instantly with:

     docker run -it --rm freedomben/pacvim
judge2020 24 days ago [-]
I'd recommend --rm too so that the container is removed afterwards instead of sitting in your `docker ps --all` list.
freedomben 24 days ago [-]
Yeah definitely. I edited and added it. Thanks!
capdeck 24 days ago [-]
docker... for a compiled console game that only needs ncurses - what am I missing?
freedomben 24 days ago [-]
There's very little overhead with docker, and considerable security benefits when running a stranger's code from the internet.

I also find it much easier to `docker run ...` than to clone, install deps, build, and run.

If you would rather compile and run it yourself, that's always an option.

akman 23 days ago [-]
I've gone through a number of tutorials, games, and articles, but I still think the best resource I've found so far is actually a book, "Practical Vim: Edit Text at the Speed of Thought": https://www.amazon.com/Practical-Vim-Edit-Speed-Thought/dp/1... . The book focuses on use cases which is a refreshing approach to Vim.
Nr7 24 days ago [-]
This is what I used to learn vim https://vim-adventures.com/

Edit: Huh, looks like it doesn't work anymore. :/

_emacsomancer_ 24 days ago [-]
It doesn't actually run in Vim though. I imagine a (keybinding-agnostic) Emacs version could be created.
leshokunin 24 days ago [-]
This is interesting, but it really needs a proper release with compiled executables for Windows / Mac OS / Linux! I appreciate there's a Docker option... but it's a game!
zzo38computer 24 days ago [-]
"In the map text file, the walls are denoted by ampersands #" That isn't right, isn't it?
nathell 24 days ago [-]
Awesome. It would be a great hack to reimplement this in VimScript.
sixothree 24 days ago [-]
It's 2019 and people are still needing to learn vi. It's not the people, it's vi.
fphilipe 24 days ago [-]
When I see colleagues using their editor of choice, they’re typically only using the basic features. The pro features that significantly speed up your editing flow remain undiscovered.

When I point out a faster way to accomplish a certain thing that is typically found in all editors, which often even is placed behind the same keyboard shortcut, they’re like “oh, that’s cool, I didn’t know you could do that!”. And that’s without me knowing or having used that specific editor.

So I’d say it’s the people, not vi, as it applies just as well to other editors or IDEs.

hummerbliss 24 days ago [-]
Vi (or emacs) have steep learning curve with immense benefits for rest of a programmer/editor life.
pkulak 24 days ago [-]
Why do this game when you can just get woken up on call at 3am with a laptop that you wiped and put Arch on last night for kicks?