: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
Insert, Replace, Change & Joining
i - current cursor position
I - starting position of current line.
a - next character from current cursor position
A - end of line
o - line bellow
O - line bellow
80i => TEST => esc - will insert TEST 80 times (can use other insert mode enter operator)
R - turn on replace mode
cw - delete current word and turn on insert mode
"acw - delete current word and turn on insert mode & store deleted word in register 'a'
c$ - C - delete text till line end and turn on insert mode
cc - delete entire line and turn on insert mode
J - join line
gJ - join line without space for line ending with period case