Hacker News new | ask | show | jobs
by brightball 1533 days ago
One of these days I really need to sit down and commit to learning to use Vim at this level. I always use Vim when I'm editing from a terminal but generally stick with VSCode or the Jetbrains family of IDEs for any real coding projects.

I've just never gotten around to learning vim in a more advanced way than edit, replace, copy paste, skip to line and search.

Any good suggestions on where to start? I looked at Spacevim but that seems to just throw everything at you.

3 comments

I highly recommend following this author’s advice https://medium.com/actualize-network/how-to-learn-vim-a-four...

It’s a pretty gentle introduction to vanilla vim over 4 weeks. After that point I’d recommend using nvim and all the plugins you want to make life easier, but learning The Vim Way is very powerful

I think it makes sense to start from scratch and learn new features step by step, otherwise it quickly becomes overwhelming. I made some videos on how to configure Neovim, maybe you'll find it useful: https://youtube.com/playlist?list=PLu-ydI-PCl0OEG0ZEqLRRuCrM...
Thanks! I'll check them out.

IMO that approach makes the most sense too.

For "base" Vim (pre-neovim), the Practical Vim book and Vimcasts by Drew Neil were very helpful.

To get the muscle memory, try blocking the arrow keys in your config or even hiding the cursor (I'm serious, I once had this unintentionally and realized that because I was so used to Vim movements I didn't even need to see the cursor in normal mode).

The vim way is: stay in normal mode, learn to move efficiently with searching, jump to char, forward/backward words etc.

Don't use a prepackaged config. Refrain from plugins until you know for sure what you want.