Today I Learned

hashrocket A Hashrocket project

Incrementing/Decrementing Numbers in Vim

You can use Ctrl+a to jump to the next number and increment. To jump to the next number and decrement, use Ctrl+x.


Jumping to the next number only works on your current line.

See More #vim TILs
Every developer at Hashrocket is a Vim expert. Check out our development environment, Dotmatrix, and if you are in Chicago, come to the Vim Chicago Meetup hosted at our Chicago office.