9 Aug
2011
9 Aug
'11
2:34 p.m.
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. Michael