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
Related protips:
Written by Karthik Sirasanagandla
Related protips
2 Responses
Not only under the cursor, it works on first occurence of the number in the current line from the cursor.
over 1 year ago
·
Ctrl-a selects all in Vim for Windows :(
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#