Delete an entire line dd
(cannot be in Insert mode)
Enter Insert mode to edit the file i
Exit Insert mode esc
Save and Exit Vim :wq
(cannot be in Insert mode)
Wrap text at 80 characters :set textwidth=80
(cannot be in Insert mode)
Quit WITHOUT saving :q!
(cannot be in Insert mode)
Comment in ~/.vimrc " A single double quote to the right side will comment