edwtjo / evil-org-mode

Supplemental evil-mode keybindings to emacs org-mode
204 stars 37 forks source link

Localize evil-leader bindings only to org-mode #12

Closed avendael closed 9 years ago

avendael commented 9 years ago

Use evil-leader/set-key-for-mode instead of evil-leader/set-key to localize the leader bindings only when org-mode is enabled. Otherwise, either evil-org-mode or the user's leader bindings will clobber the other, whichever is loaded last.

skovuri41 commented 8 years ago

set-key-for-mode disables my other evil-leader/set-key combinations while I am in org-mode. for eg: I use "SPC a" combination in all the modes , however after this change it is overriden by org-agenda only. is this commit not making it least flexible for users to manage preferences?

how can i get back "SPC a" the way i want and not org-agenda if I use this mode.

thanks,