Vim Tip, Increment/Decrement

In vim command mode, the command ^A will find the next integer on the current line and increment it by one. The command ^X does the opposite; it finds the next integer on the line and decrements it by one.

I find this very useful when coding if I only need to adjust an integer on the current line (and can’t be bothered to jump to it and enter insert mode just for that).

21 October 2022

Previous
Previous

ExtremeProgramming Influences

Next
Next

Term Project Progress