Vim Keys Navigation

kMoves cursor up
jMoves cursor down
hMoves cursor left
lMoves cursor right

Basic Commands

:qExit from the file
:wqSave and exit
:q!Exit without saving
:$Move cursor to end of file
:wSave changes
:set numberTo show line numbers
:set no numberHide line numbers
:%s/wordabc/wordxyzsubstitute wordabc with worxyz for all occurances

Vim insert modes

aInsert cursor at right of current character
AInsert at the end of line
oInsert mode at new line below
OInsert mode at new line above
rTo change the single character
RStart Replacing everything

Vim Keybinds

yyYank the line (copy)
DdDelete the line
DwDelete the word
YwCopy the word
PPaste the copied content
UUndo
Ctrl + rRedo
GgMove the cursor to start of file
GMove the cursor to end of file

Vim Modes

iInsert mode
EscEscape mode
:Command mode