On  3 Sep 2011, Antono Vasiljev wrote:

> On Fri, 02 Sep 2011 06:24:05 +0200, Michael Markert 
> <[email protected]> wrote:
>
>>> One difference i found: it does not increment numbers
>>> at end of word like vim does:
>>
>> This works now.
>>
>>> Probably you can share it as evil-incdecr?
>>
>> No, but as evil-numbers: https://github.com/cofi/evil-numbers
>
> Great name :)

Thought so, too. :)

>> So please test and have fun! :)
>
> It only worked for me if defined like this:
> -(define-key 'evil-normal-state-map (kbd "C-c +") 'evil-numbers/inc-at-pt)
> -(define-key 'evil-normal-state-map (kbd "C-c -") 'evil-numbers/dec-at-pt)
> +(define-key evil-normal-state-map (kbd "C-c +") 'evil-numbers/inc-at-pt)
> +(define-key evil-normal-state-map (kbd "C-c -") 'evil-numbers/dec-at-pt)

Oh, stupid mistake. Thanks for catching! Fixed in 6c6441e3.

> It really works. Thank you for great plugin!

Great :) Because of your 'plugin' cue I edited the emacswiki page for
evil[1] and added Tim's surround and this plugin.

Michael

Footnotes:

[1] http://www.emacswiki.org/emacs/Evil

Attachment: pgplOg8howbtS.pgp
Description: PGP signature

_______________________________________________
implementations-list mailing list
[email protected]
https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list

Reply via email to