> 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). > > Behold: > https://gist.github.com/1161129 > > 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: my<cur>word12 should increment to myword13 Anyway, thank you for your snippet. Probably you can share it as evil-incdecr? -- http://antono.info/ http://twitter.com/antono http://github.com/antono _______________________________________________ implementations-list mailing list [email protected] https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
