Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please explain why evil-leader is better than a custom keymap #36

Open
wbolster opened this issue Feb 19, 2016 · 0 comments
Open

please explain why evil-leader is better than a custom keymap #36

wbolster opened this issue Feb 19, 2016 · 0 comments

Comments

@wbolster
Copy link

please make it more clear why evil-leader is useful (either in this issue, but preferably in the readme).

for instance, this also seems to work fine to get some basic "leader key" behaviour:

(defvar my-leader-map
  (make-sparse-keymap)
  "Keymap for 'leader key' shortcuts.")
(evil-define-key 'normal global-map "," my-leader-map)
(define-key my-leader-map " " 'whitespace-cleanup)
(define-key my-leader-map "b" 'list-buffers)

clearly i'm missing something. please enlighten me. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant