6 ms·
Interactive Vim Tutorial
- randall 7y agoI started learning vim from https://vim-adventures.com/ https://vim-adventures.com/ and it has been invaluable.
- chapium 7y agoThis game got me past the frustration of knowing the keys but being slow at inputting them.
- simias 7y agoI 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.
- narimiran 7y ago> I can recommend "Practical Vim" which is a great book. I've read it only recently, after I was already familiar with Vim, and I cannot recommend it enough! I had lots of "oh, I had no idea this was possible" moments and it took my Vim knowledge to the next level where I'm now (even) more productive than before. Having said that, I'm not sure it is a good introductory resource for somebody making their first steps in Vim.
- dreary_dugong 7y agoA 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.
- james_impliu 7y agoHad the same response but then spotted that there's a practise tab at the top!
- RodgerTheGreat 7y agoI 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.
- eddhead 7y agoI thought I was just kidding when I noticed Vim related articles coming up over and over, and here's another one.
- MattConfluence 7y agoA 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".
- mannykannot 7y agoAnd this tutorial follows the convention of not mentioning how to quit vim in one of its early lessons.
- deanstag 7y agoDrug dealers never tell their clients how to wean off their vices. Is that a crime? :P
- t0mislav 7y agoToday should be the Vim day!
- dundercoder 7y agoEvery day should be Vim day ;)
- simonebrunozzi 7y agoWe 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...
- dundercoder 7y agoNot 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.
- slowhand09 7y agoFirst Rule of Vim Club: Don't talk about Vim Club.
- tr1coder 7y agoI find vimtutor to be the best source for beginners, at least it was for me.
- eoikonomou 7y agoThese interactive tutorials are the only relatively painless way to learn the basics of vim.
- Cyph0n 7y agoIt took me a while, but I finally learned Vim by forcing myself to use it at work. A year and a half later, it has taken over my life.
- passthejoe 7y agoThis is a nice way to learn Vim.
- bachmeier 7y agoI 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.
- jasode 7y agoThe 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=21343686 https://news.ycombinator.com/item?id=20605840 https://news.ycombinator.com/item?id=20605840
- dang 7y agoA thread from 2017: https://news.ycombinator.com/item?id=15400037 https://news.ycombinator.com/item?id=15400037 2013: https://news.ycombinator.com/item?id=5235817 https://news.ycombinator.com/item?id=5235817 2011: https://news.ycombinator.com/item?id=3190380 https://news.ycombinator.com/item?id=3190380
- noobdood 7y agoRelated: A vi editor quick-start tutorial: https://gumroad.com/l/vi_quick https://gumroad.com/l/vi_quick . I am the author (user vram22 on HN), posting from another phone, with a throwaway user name. I first wrote this tutorial for two Windows sysadmin friends who had to handle some Unix servers. They told me it helped them to learn vi basics and so use Unix more easily.