Edit multiple lines

If you want to comment something out or want to add indentation to multiple lines do the following:

  • Press Ctrl + v and select the columns in question
  • Press Shift + i and enter your text
  • Hit Esc and wait for a second.

Search and replace

:%s/search/replace/gi