zlz1cw
Last Updated: February 25, 2016
·
10.13K
· karthiks

Vim: Increment/Decrement a number under cursor

Ctrl-a

will increment the number under the cursor

Ctrl-x

will decrement the number under the cursor

2 Responses
Add your response

1369

Not only under the cursor, it works on first occurence of the number in the current line from the cursor.

over 1 year ago ·
3608

Ctrl-a selects all in Vim for Windows :(

over 1 year ago ·