-=[ vi Commands ]=- By Ed with help from Andy www.narced.com/linux Always hit ESC first!! Keep hitting ESC. ESC is your friend. A - add text I - insert text : - command line stuff X - delete character DD - delete line :q - quit :q! - quit without saving changes :wq - write, then quit shift-Z;shift-z - write, quite :w - write (or "save") shift "-" = go to beginning of line shift $ = go to end of line ESC - : - = will take you to line# shift O = insert line above, and go to insert mode O = insert line under, and go to insert mode