Increment decrement number under cursor?
self at antono.info
Sat Aug 27 04:41:25 CEST 2011
> Because I wanted to improve my own inc/dec function for a while I took
> the afternoon and went for vim emulation. Except that it keeps the width
> in binary (but that looks like a vim bug).
> It's not exactly pretty and there's a function waiting to jump out but
> according to my tests it works as its vim counterpart does.
> So please test it and give me feedback :)
One difference i found: it does not increment numbers
at end of word like vim does:
should increment to myword13
Anyway, thank you for your snippet.
Probably you can share it as evil-incdecr?
More information about the implementations-list