Cheatography
https://cheatography.com
Word Movementb | start of word | e | end of word | w | next word |
MovementAdd numbers to movements to repeat them
3w, 2l |
Lines0 | beginning of line | $ | end of line |
Filesgg | beginning of file | G | end of file | 3G | third line of file |
| | Inserting text3igo Esc
inserts "go" three times |
Inserting lineso | insert new line at location | O | insert new line above current line |
Deletingx | delete character under cursor | X | delete character left of cursor | d | delete word |
DeletingCombine d with movement keys
dw, d2e |
Replacingr | replace single character under cursor |
| | Findf | next occurrence of a character | F | previous occurrence of a character | % | go to matching parenthesis | * | next occurrence of word under cursor | # | previous occurrence of word under cursor |
FindAdd numbers to find other occurrences
3fq to find third occurence of q |
Search/ | specify search term | n | next occurrence of term | N | previous occurrence of term |
Commands. | repeat previous command | u | undo | ctrl+R | redo |
File Commands:w | save | :q | quit | :q! | quit without save | :help | help |
|
Help Us Go Positive!
We offset our carbon usage with Ecologi. Click the link below to help us!
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets