emacs-evil / evil-magit

Black magic or evil keys for magit
https://github.com/justbur/evil-magit
GNU General Public License v3.0
273 stars 16 forks source link

Previously set keys are re-bound #13

Closed justmytwospence closed 8 years ago

justmytwospence commented 8 years ago

In my evil configuration, I've set C-b to nil in evil-motion-state-map, because I like to use C-b as a prefix key. This is reset by evil-magit however, and attempting to re-bind to nil after loading evil-magit doesn't seem to do anything.

justbur commented 8 years ago

Hm that doesn't seem right. I don't do anything with C-b. Are you talking about all buffers or just magit ones? On Wed, Dec 30, 2015 at 3:14 PM Spencer Boucher notifications@github.com wrote:

In my evil configuration, I've set C-b to nil in evil-motion-state-map, because I like to use C-b as a prefix key. This is reset by evil-magit however, and attempting to re-bind to nil after loading evil-magit doesn't seem to do anything.

— Reply to this email directly or view it on GitHub https://github.com/justbur/evil-magit/issues/13.

justbur commented 8 years ago

Well I lied. I do have a C-b binding. It would still help to know what buffers the problem is in.

justbur commented 8 years ago

This should fix it

(evil-define-key evil-magit-state magit-mode-map "\C-b" nil)
justmytwospence commented 8 years ago

Sure does!