I'm using gVim version 7.3 on my Windows. When using gVim in my Unix, to insert a common text at the beginning of each line in a file, I do the following steps:
- Enter visual mode (CTRL+V).
- Select the lines for which the text has to be inserted at the beginning using arrow keys or hjkl keys.
- After selection press Shift+I.
- The cursor goes to the begin of the line where I started. I enter some text and press ESC key.
- Now the entire block of lines has the text inserted at the beginning.
So here's my question. How do I do the same thing in my gVim on Windows? It's not working if I follow the above as on Unix. Could someone please help me out with this?