Vim: Increment and decrement numbers
In Normal mode, Ctrl+A increments a number by one, and Ctrl+X decrements a number by one. This will work on numbers at or after the cursor. So the cursor does not need to be on the number. But the “after the cursor” thing works only if the cursor is on the same line as the number. Like most Normal mode commands, increment and decrement support numeric prefixes. For example, pressing 5Ctrl+A will increment the number by 5.