Ask HN: What is a good guide for learning Vim
Hey!
For some time now I often have to edit files in the terminal and I would like to learn how to use VIM. What good resources are there to learn VIM? I have no experience with it and would appreciate suggestions.
I would prefer any kind of interactive learning stuff, since I'm a very lazy reader. But this is just a preference of mine - I would be willing to read stuff aswell ;-)
Thanks in advance!
17 comments
[ 3.4 ms ] story [ 55.2 ms ] thread‘Vimtutor’ on *nix or in windows land it should be a bat file somewhere in install directory.
https://vim-adventures.com/
My VIM skills are still very basic and vanilla and I've used it as my main editor for a couple of years now.
My .vimrc is setup and I copy that to whatever computer I'm working on. I pretty much "stole" my setup from others.
anyways, my advice is to just keep using it, no matter what! funny thing, the first couple of days i could not stop typing "nano <file>" due to muscle memory so i finally aliased it to "nvim" and also created "pico" as a link to nano's binary, just in case. well, it took maybe 3 days for me to find myself in nano and trying to control it with vim commands. that was the day i removed nano from my systems and made nvim my editor of choice!
what's helped me the most on advanced features is every once in a while learn a few new key presses. i reference these [1] two [2] cheat sheets every so often and i pick 2 or 3 commands and write them on a note pad in front of me. i reference the notepad a few times until i retain the command, which is pretty hard sometimes, but so worth it.
[1]: https://devhints.io/vim
[2]: https://vim.rtorr.com/
This article got me from scared of of VIM to feeling crippled without it.