Even though I regularly use vim for editing files, so many shortcuts and commands are still unknown. How would one approach this issue without reading the man page? Asking for a friend…
vimtutor is the starting point for learning vim, but it’s fairly surface-level. To actually learn vim, you should read through the user manual by typing :help usr_01 and hitting enter in vim. It’s also accessible online here: https://vimhelp.org/usr_01.txt.html#usr_01.txt.
It’s a fairly quick read, about 40ish pages that are reasonably short and is intended to be read straight through like a book. It provides a good overview of all of vim’s features.
Note: this is distinct from the reference manual, which is much, much larger and isn’t intended to be read straight through.
Even though I regularly use vim for editing files, so many shortcuts and commands are still unknown. How would one approach this issue without reading the man page? Asking for a friend…
vimtutor
is the starting point for learning vim, but it’s fairly surface-level. To actually learn vim, you should read through the user manual by typing:help usr_01
and hitting enter in vim. It’s also accessible online here: https://vimhelp.org/usr_01.txt.html#usr_01.txt.It’s a fairly quick read, about 40ish pages that are reasonably short and is intended to be read straight through like a book. It provides a good overview of all of vim’s features.
Note: this is distinct from the reference manual, which is much, much larger and isn’t intended to be read straight through.
$ vimtutor
At first I thought you were joking. But that is actually a command. I’m surprised. Thanks!
No worries. I’ve been using vim for years and still don’t use anything fancier than marks and regex editing. 😄