Vim
| Shortcut | Description |
|---|---|
| Duplicate line | yy (yank line) , p (paste) |
| Copy line to system | shit + v (to select), yy (yank line) |
| Add new line | o |
| Visual mode | v |
| Copy chars selected | y (yank) |
| Visual block mode | ctrl + V |
How to
Add text to multiple lines:
- Visual block mode
- Select where to change
- Press I
- Perform the change in one line
- Press ESC
- The change will propagate