Increase selected numbers by progressively larger multiples of the count
Example
Visual line 0 / 1Normal 1 / 11
2
3Cursor on line 3, column 1 · Line selection2
4
6Cursor on line 1, column 1Increase selected numbers by progressively larger multiples of the count.
Command applied
Before & after
1
2
3Cursor on line 3, column 1 · Line selection2
4
6Cursor on line 1, column 1Start in Visual line mode. The highlighted area is observed in Vim. Any displayed register boxes show the exact copied or deleted contents.
Details & Vim help
Example replayed in Vim
Increase selected numbers by progressively larger multiples of the count. Use in Visual mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative. Vim changes the first eligible value on each selected line within the selection. The first affected line changes by the count, the next by twice the count, and subsequent affected lines by successive multiples. Lines without an eligible value do not advance the sequence. Plain Visual Ctrl-a/Ctrl-x applies a fixed count. The 'nrformats' option controls recognized number formats.