VIM Cheat Sheet for Beginners
Verbose vs Shortcuts
Vim provides a short cut and a verbose version of every command. For instance, you can type the short cut version of the edit command
:e .
or you can type the verbose version of the exact same command by typing
:edit .
Now, the way that we will express the verbose vs the abbreviated command is
:e[dit] .
:shortcut[extra letters for long version]
Commands for Complete Beginners
-
:e[dit] path/to/some/file.txtBeginner’s example 1
:e .
This will display all of the files/folders that are in the directory
Command 2
jk
Slightly more Advanced Commands
- :ol[dfiles]
String Commands
- w – Forward to the start of next
- W-
Other helpful links
