[operator]aw- current word with trailing space[operator]iw- current word[operator]ap- current paragraph with trailing space[operator]ip- current paragraph[operator]l- current letter[operator]it- inside the tag[operator]0- move to begin of line[operator]g_- move to end of line[operator]gg- move to the begin of buffer[operator]G- move to the end of buffer[operator]{- move to the prev paragraph[operator]}- move to the next paragraph[operator]H- move to the top[operator]L- move to the bottom[operator]M- move to the middle
c[motion]- changed[motion]- deletey[motion]- copyg~[motion]- swap casegu[motion]- make lowercasegU[motion]- make uppercasegq[motion]- format textzf[motion]- define a fold=[motion]- autoindent>[motion]- shift right<[motion]- shift left![motion]{external program}- filter through an external program
cl- change lettercaw- change a word and trailing spacecap- change a paragraphciw- change a word
gUl- switch to uppercase lettergUaw- switch to uppercase a wordgUap- switch to uppercase a paragraphgUit- switch to uppercase the text inside a tag
dl- delete letterdaw- delete a word and trailing spacedap- deleta a paragraph
yl- copy letteryaw- copy a word with trailing spaceyap- copy a paragraph with trailing spaceyy- copy a line
!ap{grep -oP '\d+'}- leave only digits in the current paragraph
- `:%! [external command] - execute external command on the whole buffer and replace with result
<C-h>- delete back one character<C-w>- delete back one word<C-u>- delete back to start of line
<C-o>- enter into Normal Insert mode
<C-v>[code]- by decimal code<C-v>u[code]- by hexadecimal code<C-k>[char][char]- by digraph (:h digraph-table)<C-k>12- digraph combo for the ½ symbol
<C-r>=[expression]<CR>- calculate an expression and place result in cursor position<C-r>=5*5<CR>- insert 25 in current cursor position
q a- begin recording macros to registeraq- end recording macros@a- perform macros from registera
30@a- perform macros from registera30 times
o- toggle the free endgv- reselect the last selectionvit- select text inside the tagviw- select current wordvip- select current paragraph
<C-v>5j$A;<CR>- append the ";" symbol at the end of 5 lines
p- paste after cursorP- paste before cursor
<C-r><C-p>[register]- paste from register
zf- create foldingza- toggle folding
[num]<C-a>- add [num] to the first found value[num]<C-x>- subtract [num] from the first found value
<C-d>- scroll down<C-u>- scroll up<C-m>- scroll to the middle<C-o>- go to older cursor position in jump list<C-i>- go to newer cursor position in jump listH- move to the topL- move to the bottomM- move to the middle0- move to begin of lineg_- move to end of linegg- move to begin of bufferG- move to end of buffer
f[char]- move to the [char]t[char]- move before a [char];- move to the next [char],- move to the prev [char]
*- search a word that is under cursorn- search next occurrenceN- search prev occurrence
<C-w>[columns]>- increase the width of window<C-w>[columns]<- decrease the width of window<C-w>[rows]+- increase the height of window<C-w>[rows]-- decrease the height of window