i
- insert modeEsc
- normal modev
- visual mode
h
- leftl
- rightk
- upj
- down
w
- start of next worde
- end of the word / end of next wordb
- beginning of the word / beginning of previous word<number><keyword>
- 3->w - same as pressing "w" three times
0
- beginning of the line$
- end of the line
gg
- beginning of a fileG
- end of a file<number>G
- go to line
%
- jump to the matching (, { or [
f<char>
- find next occurrence of a character<number>f<char>
- find nth occurrence of a character/<phrase><Enter>
- find phrase - then press "n" for next occurrences*
- find next occurrence of a word where the cursor is at#
- find previous occurrence of a word where the cursor is at
<number>i<phrase><esc>
-30->i->write "go"->esc
- insert "go" three timeso
- open new line below in "Insert" modeO
- open new line above in "Insert" moder
- replace character where the cursor is atx
- delete character where the cursor is atX
- delete one character to the left of where the cursor is atd<indicator>
- dw - deletes characters or words as described by the indicatora
- append where the cursor is atA
- append at the end of the line
.
- repeat previous commandu
- undoCtrl+R
- redo:help
- Vim help
:w
- save:q
- quit:q!
- quit without saving