Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 440 Bytes

vim.md

File metadata and controls

15 lines (10 loc) · 440 Bytes

VIM

Insert text at beginning of a multi-line selection:

  1. Esc to enter 'command mode'
  2. Ctrl+V to enter visual block mode
  3. select lines with up/down
  4. hit Shift+i and type the text you want to insert
  5. hit Esc, and the inserted text will appear on every line

Delete word: diw

Delete around word: daw

Disable visual mode to copy text: set mouse-=a