vim#
:q - quit
:w - save (write)
:wq - save and quit
:q! - quit and no savine
:set number - show line numb
esc - go to normal mode (saving/quit/etc)
i - go to insert mode (editig)
u - undo (in command line mode)
cmd r - redo (in command line mode)