Live data from Hacker News

Interactive Vim Tutorial

openvim.com

11–20 of 26 posts

Re: Interactive Vim Tutorial

#11

A bit off topic, but I find it amusing that the two top posts on the HN front page right now are "Open Vim" and "How to Exit Vim".

We just need the "how to install vim" as 3rd on the podium and we're done :)

side note: of course it's installed by default in pretty much every Linux distro, but alas...

Re: Interactive Vim Tutorial

#12
post #2

I started learning vim from https://vim-adventures.com/ and it has been invaluable.

I can recommend "Practical Vim" which is a great book.

Regarding vim-adventures, I just gave it a try for the first time and while it does seem quite fun it puts a massive amount of emphasis on h and l to move left and right (that's all you start with, and even though you unlock w, e and b soon enough you can't use them outside of text tiles).

I hardly ever use h and l. There's almost always a better and faster way to move around, be it w, e, b (and their uppercase variants) or f/t/F/T. I think the only time I ever use h and l is when I need to move inside a word (fairly rare), or when I want to do something like "remove the next 4 letters and insert something instead" in which case I'd do something like c4l. Also commands that operate on words or look for specific anchor characters compose much better for . or macros.

Re: Interactive Vim Tutorial

#15

A great concept but frustratingly quick-paced. With each lesson I feel like I need at extra 5-10 minutes of practice before I move on but it forces me to after only a few seconds.

Had the same response but then spotted that there's a practise tab at the top!

Re: Interactive Vim Tutorial

#16

A bit off topic, but I find it amusing that the two top posts on the HN front page right now are "Open Vim" and "How to Exit Vim".

We just need the "how to install vim" as 3rd on the podium and we're done :) side note: of course it's installed by default in pretty much every Linux distro, but alas...

Not as much as it used to be. I’ve been in a few distros lately (container distros mostly) that only had nano. I got all “get off my lawn” about it too.

Re: Interactive Vim Tutorial

#18
I made the decision to start learning Vim yesterday when I found Mastering Vim and a full Vim course on packtpub.com for $5 each. I've been using Emacs for years, but it's always helpful to learn a new way to approach problems. Given how much I do in text editors, the investment is worth it.

Of course the bigger investment by far is the time. It's nonetheless nice to have access to cheap yet comprehensive learning materials so that it takes less time to learn.

Re: Interactive Vim Tutorial

#19
The approach this interactive tutorial uses is how I my instructor taught me vi but I don't think it's the best way because just telling you which keys do what feels random. I learn much more effectively if I understand some of the "why". My previous comments about learning vi/vim being easier if one gets a little philosophical background:

https://news.ycombinator.com/item?id=21343686

https://news.ycombinator.com/item?id=20605840

Re: Interactive Vim Tutorial

#20

A great concept but frustratingly quick-paced. With each lesson I feel like I need at extra 5-10 minutes of practice before I move on but it forces me to after only a few seconds.

I agree. I'd vastly prefer having a chance to continue experimenting with each new command until I choose to advance to the next step.

By just being a text document, vimtutor avoids this problem.

Post reply on HN