{"action":"opened","issue":{"url":"https://api.github.com/repos/noctuid/evil-guide/issues/2","repository_url":"https://api.github.com/repos/noctuid/evil-guide","labels_url":"https://api.github.com/repos/noctuid/evil-guide/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/noctuid/evil-guide/issues/2/comments","events_url":"https://api.github.com/repos/noctuid/evil-guide/issues/2/events","html_url":"https://github.com/noctuid/evil-guide/issues/2","id":169750561,"number":2,"title":"There definitely is leader functionality in evil","user":{"login":"alphor","id":12476052,"avatar_url":"https://avatars.githubusercontent.com/u/12476052?v=3","gravatar_id":"","url":"https://api.github.com/users/alphor","html_url":"https://github.com/alphor","followers_url":"https://api.github.com/users/alphor/followers","following_url":"https://api.github.com/users/alphor/following{/other_user}","gists_url":"https://api.github.com/users/alphor/gists{/gist_id}","starred_url":"https://api.github.com/users/alphor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphor/subscriptions","organizations_url":"https://api.github.com/users/alphor/orgs","repos_url":"https://api.github.com/users/alphor/repos","events_url":"https://api.github.com/users/alphor/events{/privacy}","received_events_url":"https://api.github.com/users/alphor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-06T15:11:26Z","updated_at":"2016-08-06T15:11:26Z","closed_at":null,"body":"There is an evil-leader package, (which you can argue is not active anymore)\r\n\r\nbut it's quite easy to build your own leader-key functionality even without this package:\r\n\r\n``` elisp\r\n(defvar my-leader-map\r\n  (make-sparse-keymap)\r\n  \"Keymap for 'leader key' shortcuts.\")\r\n(evil-define-key 'normal global-map \",\" my-leader-map)\r\n(define-key my-leader-map \" \" 'whitespace-cleanup)\r\n(define-key my-leader-map \"b\" 'list-buffers)\r\n```\r\n\r\ntaken from: https://github.com/cofi/evil-leader/issues/36\r\n\r\nI happen to use evil-leader (definitely considering dropping it now that I realize it's been inactive, but until I find a showstopping bug, I'll keep it around) and find nothing wrong with it. It works with which-key (because it uses a keymap under the hood anyway), which yeah is kinda mundane since you should be aware of what your binds do, and has a neat interface for adding keys to the existing emacs session (evil-leader/set-key[-for-mode])"}}
{"actor":{"display_login":"alphor"}}