Insert before a Visual block
I
Example
Visual block 0 / 3Insert 1 / 3Insert 2 / 3Normal 3 / 3one
twoCursor on line 2, column 1 · Block selectionone
twoInsertion point on line 1, column 1//one
twoInsertion point on line 1, column 3//one
//twoCursor on line 1, column 1Insert the same prefix on selected block lines.
Insert mode · type next text or Esc
Insert mode · type next text or Esc
Insert the same prefix on selected block lines
Before & after
one
twoCursor on line 2, column 1 · Block selection//one
//twoCursor on line 1, column 1Start in Visual mode. Start with a block selection covering column one of both lines. Type I//, then Esc. The repeated insert appears when you leave Insert mode.
Details & Vim help
Example replayed in Vim
Insert the same prefix on selected block lines.
In blockwise Visual mode, press I, type the prefix, then Esc. Vim repeats the insertion on the other selected lines; lines too short for the block have special handling.