vim
Modes
i
: insert modeESC
: normal modev
: visual modeV
: visual line mode
Delete stuff
x
,X
: delete character under, before cursor.d
: delete somethingy
: copy something
Move around
b
,w
,e
, previous word (beginning), next word, end of next word0
,$
, beginning and end of linegg
,G
, beginning and end of file
Misc
u
, Ctrl+R: undo, redo last command:!<command>
, execute a command in shell:r !<command>
, execute a command and insert its output in Vim