eNG1Ne
unread,Feb 19, 2012, 11:01:51 AM2/19/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim_use
Something odd going on here, and I don't understand: I thought I
remembered how to increment numbers, but it seems not :-{
Here's two lines from a file I'm working on
bar // 04
bar // 05
If I place the cursor on any digit and press just ctrl+A, I get the
expected results
bar // 04
bar // 05
But I actually want to add 59 to each number. So, I put the cursor
first on the 4 and then on the 5; each time, I enter 59 ctrl+A
Result:
bar // 0100
bar // 076
(and by the way - what should I be looking for with :help? :help
increment gives me "E149: Sorry, no help for increment)