Cheatography
https://cheatography.com
cheatsheet for vim. shortcuts
search/keyword + enter | search in file | n | next in search | N | previous in search |
Code selectionv | select code | V | select line | y | copy selected code | p | paste code |
| | deleting codedd | delete current line | 2dd | delete 2 lines | dw | delete next word | db | delete previous word | d← | delete current and left character | d$ | delete from current position to end of line | d^ | delete from current backward to first non-white-space character | d0 | delete from current backward to beginning of line |
code editingo | new line beneath | O | new line above | :m+2 | move current line, 2 lines down |
| |
code navigation0 | go to head of line | ^ | got to first word in line | : shift+g | end of file |
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets
More Cheat Sheets by boris.indelman