| :w | save file |
| j | up one line |
| k | down one line |
| h | one position right |
| l | one position left |
| e | end of word |
| ⇧e | end of WORD |
| w | next word |
| ⇧w | next WORD |
| alt-w | next sub-word |
| alt-shift-w | prev sub-word |
| b | previous word |
| ⇧b | previous WORD |
| ^b | page up |
| ^f | page down |
| 0 | beginning of line |
| ^ | first non-whitespace character on the line |
| $ | end of line |
| % | go to match |
| * | next with same indent level |
| ⇧h | first line of screen |
| ⇧m | middle of the screen |
| ⇧l | bottom of the screen |
| ⇧g | end of file |
| gg | start of file |
| i | insert before cursor |
| ⇧i | insert at the beginning of current line |
| a | append after cursor |
| ⇧a | append to the end of the current line |
| o | insert on a new line below |
| ⇧O | insert on a new line above |
| r | replace single char |
| s | substitute char |
| ⇧s | substitute line |
| x | cut forwards |
| ⇧X | cut backwards |
| y | yank (copy) |
| ⇧Y | yank line (copy) |
| / | find |
| n | find next |
| ⇧n | find previous |
| v | start selection |
-
-
Save n1c/5926100 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment