e
- jump forwards to the end of a wordb
- jump backwards to the start of a word0
- jump to the start of the line$
- jump to the end of the linegg
- go to the first line of the documentG
- go to the last line of the document/
- seach and enter}
- jump to next paragraph (or function/block, when editing code){
- jump to previous paragraph (or function/block, when editing code)zz
- center cursor on screen
i
- insert before the cursorI
- insert at the beginning of the linea
- insert (append) after the cursorA
- insert (append) at the end of the lineo
- append (open) a new line below the current lineO
- append (open) a new line above the current line
:bn
- go to the next buffer:bp
- go to the previous buffer:bd
- delete a buffer:ls
- list all open buffers:sp
file - open a file in a new buffer and split window:vsp
file - open a file in a new buffer and vertically split windowCtrl + ws
- split windowCtrl + ww
- switch windowsCtrl + wq
- quit a windowCtrl + wv
- split window verticallyCtrl + wh
- move cursor to the left window (vertical split)Ctrl + wl
- move cursor to the right window (vertical split)Ctrl + wj
- move cursor to the window below (horizontal split)Ctrl + wk
- move cursor to the window above (horizontal split)
r
- replace a single characterJ
- join line below to the current one with one space in betweencc
- change (replace) entire lineC
- change (replace) to the end of the lineciw
- change (replace) entire wordcw
- change (replace) to the end of the words
- delete character and substitute textS
- delete line and substitute text (same as cc)xp
- transpose two letters (delete and paste)u
- undo.
- repeat the command
>
- shift text right<
- shift text lefty
- yank (copy) marked textd
- delete marked text~
- switch case-
- browse directory
yy
- yank (copy) a lineyw
- yank (copy) the characters of the word from the cursor position to the start of the next wordp
- put (paste) the clipboard after cursorP
- put (paste) before cursordd
- delete (cut) a linedw
- delete (cut) the characters of the word from the cursor position to the start of the next wordD
- delete (cut) to the end of the lined$
- delete (cut) to the end of the linex
- delete (cut) character