Cheatsheet
| Action | Command |
|---|---|
| Save and quit | :wq (like vim) |
| Delete/cut a line (select line, delete selection). | x d |
| Empty a line (select line, change) | x c |
| Select multiple lines | Press x repeatedly |
| Select all | % |
| Copy (“yank”) the selection into the register | y |
| Copy into the system clipboard (Space mode) | space y |
| Insert a tab (when smart-tab is enabled) | shift tab |
| Undo | u |
| Redo | U |
| Indent | > |
| Unindent | < |