command
i - insert at cursor (escape to stop)
x - delete a character
D - delete to end of line
dd - delete entire line
dw - delete word
u - undo last chage
U - undo all changes on this line
[n]G - Goto end of file [n:cardinal goto nth line]
/ - search for regular expression
n - next occurance of search expression
:q[!] - quit without saving [!:even if changes have been made]
:w[!][ file] - write [!:even if the file is write protected][file:to another file]
:e file - edit another file
:r file - insert a file