In a quest to work more efficiently, I’m trying to reduce the use of the mouse. Therefore I’m trying to learn as much shortcuts as possible.

This page stores the ones I’m learning for 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:

  1. Visual block mode
  2. Select where to change
  3. Press I
  4. Perform the change in one line
  5. Press ESC
  6. The change will propagate