:q - quit :q! - force quit
:wq - write & quit
:23 - go to line No. 23
:$ - go to last line
:set ruler - set vim setting to show ruler
:set noruler - set vim setting to hide ruler
:set ruler! - set vim setting to toggle ruler
j - move down
k - move up
h - move left
l - move right
ctrl+f - move page down
ctrl+b - move page up
w - word forward
b - word backword
W - word forward with considering whitespace only
B - word backward with considering whitespace only
0 - go to start of the line
^ - go to first word of line
$ - go to last word of line
gg - go to first line
G - go to last line
29gg - go to 29th line
29G - go to 29th line
ctrl+G - display status line at bottom
Help document command
:h = :help - display help document
:h gg - show help for given gg command
:h ctrl-f = :h ^f - show help for CTRL-F (carat & 'ctrl' work same way)
on help document
ctrl+] - jump to documentation of current word on cursor.
ctrl+o - jump to previous location in help doc.
ctrl+w+w - switch between opened window