How to override evil-mode normal state binding

Aneesh Kumar aneesh.kumar at gmail.com
Sun Mar 1 07:22:41 CET 2015


I am trying to override binding for 'q' for a minor mode. What is the right
way to do it ? Using evil-define-key  doesn't seem to work.  For example i
tried
 (evil-define-key 'normal magit-blame-mode "q" 'magit-blame-quit) and that
doesn't seem to work. Even adding a new binding like
 (evil-define-key 'normal magit-blame-mode "Q" 'magit-blame-quit) is not
working.

I am using evil-mode from melpa

-aneesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ourproject.org/pipermail/implementations-list/attachments/20150301/8b93c43e/attachment.htm 


More information about the implementations-list mailing list