How do I prepend text to every line in a visual block selection?
I{text}<Esc>
When you need to add the same prefix to many adjacent lines, Visual Block insert is faster and safer than repeating macros or substitutions.
I{text}<Esc>
When you need to add the same prefix to many adjacent lines, Visual Block insert is faster and safer than repeating macros or substitutions.
:set virtualedit=block,onemore
virtualedit controls whether the cursor can move to positions that do not yet contain text.