evil-toggle-key, take two
markert.michael at googlemail.com
Tue Aug 9 16:34:35 CEST 2011
On 9 Aug 2011, Vegard Øye wrote:
> On 2011-08-09 02:22 +0200, Michael Markert wrote:
>> Because the code in the custom is rather longish and it
>> would be nice to set it without custom I think of adding
>> a `evil-set-toggle-key' fun. But where should it go?
> Place it in evil-common.el after `evil-redirect-digit-argument'.
> It is clearly a keymap function, but evil-maps.el should contain
> `define-key' calls only for the sake of readability.
Well that falls into the same circular require trap I spoke of in the
other post: evil-common requires evil-var and evil-var requires
evil-common if we want setting `evil-toggle-key' to work when set via
custom. That is if we don't want to duplicate the code.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 835 bytes
Desc: not available
Url : https://lists.ourproject.org/pipermail/implementations-list/attachments/20110809/3908e8b1/attachment.pgp
More information about the implementations-list