Skip to main content

vim

To insert text, go into insert mode with the i key. To exit insert mode, hit escape.

To save your document and exit vim write :wq.

To delete a line, move the cursor to the line you want to delete and hit the d key. Hit it again to confirm.