=== [[VI Cheetsheet]] ===
* <kbd>Esc </kbd> - Escape to view-only mode. Press ''Esc'' before using the following commands to get out of whatever mode you're already in.* <code>:w !sudo tee %</code> force write file using sudo to 'tee' the standard output to the file descriptor* <kbd>i </kbd> - Enter insert mode. Place the cursor where you want to type and press ''i'' before typing.* <kbd>x </kbd> - Delete the character under the cursor.* <code>dd </code> - Delete the current line.* <code>:q! </code> - Quit* <code>:wq </code> - Save and Quit
See our [[VI Cheetsheet]] or http://www.eec.com/business/vi.html for more