This is a draft cheat sheet. It is a work in progress and is not finished yet.
Help
:help string |
Help for given string |
:helpgrep pattern |
Help for given regents pattern |
:cnext |
Next occurance |
:cnfile |
Next file occurance |
:cprev |
Previous occurance |
:cpfile |
Previous file occurance |
Scripting
:ab |
Sets abbreviation for insert mode and commands |
:cabbrev |
Sets abbreviation for command line only |
:iabbrev |
Sets abbreviation for insert mode only |
:ab <expr> foo vimscript() |
Calls any vimscript command as expansion of foo |
<CTRL-]> |
Expands abbreviation w/out non keyword character |
|