How can you insert when you are in visual block mode (by pressing ctrl-V) in Vim?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try this
After selecting a block of text, press Shift+i or capital I.
Lowercase i will not work.
Then type the things you want and finally to apply it to all lines, press Esc twice.
If this doesn’t work…
Check if you have
+visualextraenabled in your version of Vim.You can do this by typing in
:verand scrolling through the list of features. (You might want to copy and paste it into a buffer and do incremental search because the format is odd.)Enabling it is outside the scope of this question but I’m sure you can find it somewhere.