Often times it seems I have a list of items, and I need to add numbers in front of them. For example:
Item one
Item two
Item three
Which shoul
Here's an easy way, without recording a macro:
Make a blockwise, visual selection on the first character of each list item:
^2j
Insert a 0.
at the beginning of these lines:
I0.
Re-select the visual selection (which is now all of the 0
s) with gv
and increment them as a sequence g
:
gvg
The entire sequence: ^
.
A recording of the process in action.