Vim is a very efficient text editor. This reference was made for Vim 8.0.

Getting started

ShortcutDescription
]cNext difference
[cPrevious difference

Editing

ShortcutDescription
doDiff Obtain!
Pull the changes to the current file.
dpDiff Put!
Push the changes to the other file.
:diffupdateRe-scan the files for differences.
ZQQuit without checking changes

Folds

ShortcutDescription
zo / zOOpen
zc / zCClose
za / zAToggle
zvOpen folds for this line
zMClose all
zROpen all
zmFold more (foldlevel += 1)
zrFold less (foldlevel -= 1)
zxUpdate folds

Also see

0 Comments for this cheatsheet. Write yours!