VIM

Useful VIM commands for those who don't use it

Cut, Copy, and Paste

  • d means "delete" for cutting text

  • y means "yank" for copying text

  • Press v to select characters, or uppercase V to select whole lines, or Ctrl-v to select rectangular blocks.

  • Press d to cut (or y to copy).

  • Press P to paste before the cursor, or p to paste after.