Prefer evil-normal-state-local-map or evil-define-key evil-normal-state-map ?

Shiyao Ma i at introo.me
Mon Jan 25 07:30:50 CET 2016


Hi,

I've read the comments at evil-core.el.

I'd like to add my custom key bindings when inside org-mode.
Two possible methods are:
1. use evil-normal-state-map

2. evil-define-key evil-normal-state-map


I see many people use method 2, but I think method 1 is more semantically
preferrable.

So my question is, regarding my purpose, which method is better (not
functionality-wise, but just best practice) ?

-- 

吾輩は猫である。ホームーページはhttps://introo.me <http://introo.me>。
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ourproject.org/pipermail/implementations-list/attachments/20160125/fb188ea4/attachment.htm 


More information about the implementations-list mailing list