On Wed, May 23, 2012 at 10:36:23AM -0400, Barry OReilly wrote:
In the meantime you could use (setq evil-overriding-maps nil) before *loading* evil to achieve the same results (I think ;)).
Do you mean after (require 'evil) and before (evil-mode 1)? That didn't work unfortunately.
No, I mean before (require 'evil). The variables must be set to a value before evil is loaded, then the defcustom directive should not change that value and the initialization code should use the value set by (setq ...).
Specifically, I have key bindings
(define-key evil-normal-state-map "o" nil) (define-key evil-normal-state-map "O" nil) (define-key evil-motion-state-map "o" 'next-buffer) (define-key evil-motion-state-map "O" 'previous-buffer)
Which I want to work in all buffers, including buffer-menu.
I've just tested this with (setq ...) before (require 'evil) and it seemed to work. Frank