Linux:Vim Useful Tips
Insert text at the beginning of a multiline selection[edit]
* Use Ctrl+V to enter visual block mode * Move Up/Down to select the columns of text in the lines you want to comment. * Then hit Shift+i and type the text you want to insert. * Then hit Esc, wait 1 second and the inserted text will appear on every line.
Delete the fist character(s) on multiple lines[edit]
* Use Ctrl+V to enter visual block mode * Move Up/Down to select the columns * Then press d to delete the selected area