Decrease selected numbers by progressively larger multiples of the count
Example
Visual line 0 / 1Normal 1 / 11
2
3Cursor on line 3, column 1 · Line selection0
0
0Cursor on line 1, column 1Decrease selected numbers by progressively larger multiples of the count.
Command applied
Before & after
1
2
3Cursor on line 3, column 1 · Line selection0
0
0Cursor 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
Decrease 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.