- navigation mode
- insert mode
- select mode (plain, line, block)
- quit (:q :q!)
- write (:w filename, :w! filename)
- edit (:e :e!)
- write and quit(:wq :wq!)
- External commands. (:!)
- directionals (h j k l)
- quick directionals (J K)
- word skip (w b)
- beginning/end of line (_ $)
- beginning/end of doc (gg G)
- specific line (number gg or :number)
- yank (yy Y)
- paste (p P)
- undo & redo (u CTRL+r)
- delete (dd D) -> repaste
- delete until (beginning/end of line, word)
- yank until (quick)
- delete char (x)
- Go to char (t f T F)
- insertion mode (i)
- ESC
- insertion mode at beginning of line (I)
- insertion mode after (a A)
- line above, line below (o O)
- substitute (s S)
- replace (c C)
- ident (< >)
- downcase/upcase (u U)
- delete, change, yank, replace (d c y r)
- full document :%s/xpto/abc/g
- specific lines :10,20s/xpto/abc/g
- regexp :%s/".*"/"HUGO"/g
- capture groups :%s/"(.*)"/'\1'/g
- opening new (:tabe)
- navigating (:tabn, :tabp, :tabm number)
- Split vertical (CTRL+w>v)
- Split horizontal (CTRL+w>s)
- Navigate (CTRL+w>hjkl)
- tabs (CTRL+T)
- windows (CTRL+v CTRL+x)
- multiselect (CTRL+z)
- create files
- Auto-complete (CTRL+n)
- Search (/ n N)
- Yank to clipboard ("+)
- Macros (q+)
Gist: https://gist.github.com/HugoLnx/170341e3f9639024bb36322c323f2dc8