:o file - open file
:w file - save file as
:close - close current pane
^ - go to first character of the line
$ - jump to the end of the line
5G - go the line 5
G - got to last line
Ctrl + b - move back one full screen
Ctrl + f - move forward one full screen
Ctrl + d - move forward 1/2 screen
Ctrl + b - move back 1/2 screen
u - undo
Ctrl + r - redo
. - repeat last command
yy - copy a line
2yy - copy 2 lines
yw - copy a word
y$ - copy to end of the line
p - put the clipboard after cursor
dd - delete a line
2dd - delete two lines
dw - delete a word
d$ - delete to the end of the line
/pattern - search for pattern
?pattern - search backward for pattern
n - repeat search in the same direction
:%s/old/new/g - replace all old with new throughout file
:%s/old/new/gc - replace throughout file with confirmation
:e filename - edit a file in new buffer
:bn - go to the next buffer
:bp - go to previous buffer
:sp filename - open a file in a new buffer and split window
:vsp filename - open a file in a new buffer and vertically split window
Ctrl + ws - split window
Ctrl + ww - switch window
Ctrl + wq - quit a window
Ctrl + wv - split window vertically