0
- beginning of line^
- beginning of non-whitespace$
- end of line:xxx
- go to line xxx9j
- move down 9 linesw
- move forward by wordb
- move backward by wordgg
- first lineG
- last lineC-u
- up half pageC-d
- down half pagef/
- move forward to first "/" character (in the line)t/
- move forward right before the first "/" character (in the line);
- repeat that command againH
- head of the screenM
- middle of the screenL
- last of the screen}
- move forward by paragraph or block{
- move backwards by paragraph or block*
- search for word under the cursorn
- search again forwardN
- search again backwards#
- search backwards for word under cursor/
- search forward?
- search backward%
- find matching brace, paren, etcma
- mark a line in a file with marker "a"- ``a` - after moving around, go back to the exact position of marker "a"
'a
- after moving around, go back to line of marker "a":marks
- view all the marks:/xxx
- highlight xxx occurrences and move to next one (n
next andN
previous)''
- go to the last place you were
x
- delete char under cursorX
- delete char before cursorA
- add to end of lineI
- insert at the beginning of the linedd
- delete lineD
- delete from cursor to end of linedi'
- delete text inside single quotesyy
- copy lineY
- copy from cursor to end of linecc
- change lineC
- change from cursor to end of linecit
- change text inside html tagci'
- change text inside single quotesci{
- change text inside curly brackets.ci...
- etcp
- paste after cursorP
- paste before cursoro
- add line belowO
- add line above.
= repeat last commentr
- replace characterR
- replace. (overwrite) (good for columns of text)J
- join line (cursor can be anywhere on line)
v
- visual char modeV
- visual line modeC-v
- block visual mode