vim basics
Edit multiple lines
If you want to comment something out or want to add indentation to multiple lines do the following:
- Press
Ctrl + vand select the columns in question - Press
Shift + iand enter your text - Hit
Escand wait for a second.
Search and replace
:%s/search/replace/gi