Save and quit
ZZ
Revert to last saved version
:e!
Quit and don’t save
:q!
Left one space
h
Down one line
j
Up one line
k
Right one space
l
Display line numbers
:set nu
Don’t display line numbers
:set nu!
Insert space at 10 chars from right margin
:set wm=10
Beginning of line
0
End of line
$
Move forward by word, counting symbols
w
Move forward by word, not counting symbols
W
Move backward by word, counting symbols
b
Move backward by word, not counting symbols
B
Change to the end of the word
cw
Change back 2 words
c2b
Change to the end of the line
c$
Change to the beginning of the line
c0
Replace one character
r
Go into overstrike mode
R
Change entire line
S
Change 3 entire lines
3S