{"action":"created","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/7121","repository_url":"https://api.github.com/repos/syl20bnr/spacemacs","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/7121/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/7121/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/7121/events","html_url":"https://github.com/syl20bnr/spacemacs/issues/7121","id":177097945,"number":7121,"title":"[question] how does spacemacs keeps two separate evil-leader convoluted maps","user":{"login":"ninrod","id":8352747,"avatar_url":"https://avatars.githubusercontent.com/u/8352747?v=3","gravatar_id":"","url":"https://api.github.com/users/ninrod","html_url":"https://github.com/ninrod","followers_url":"https://api.github.com/users/ninrod/followers","following_url":"https://api.github.com/users/ninrod/following{/other_user}","gists_url":"https://api.github.com/users/ninrod/gists{/gist_id}","starred_url":"https://api.github.com/users/ninrod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninrod/subscriptions","organizations_url":"https://api.github.com/users/ninrod/orgs","repos_url":"https://api.github.com/users/ninrod/repos","events_url":"https://api.github.com/users/ninrod/events{/privacy}","received_events_url":"https://api.github.com/users/ninrod/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-15T06:17:28Z","updated_at":"2016-09-15T06:38:15Z","closed_at":null,"body":"So I was skimming through spacemacs source code trying to find an answer to explain this sorcery, but to no avail. \r\n\r\nWhen I'm in org mode I know I have two convoluted key maps under evil-leader. One map is under the `<SPC>` leader key and the other map under the `,` key. The `<SPC>` key guards general binds and the `,`guards mode specific binds. Lovely. \r\n\r\nBut how in hell does spacemacs managed to set that up? I'm curious because reading through evil-leader documentation, you have only one way to set the leader key and that is by writing: \r\n\r\n```lisp\r\n(evil-leader/set-leader \"<SPC>\")\r\n```\r\n\r\nYes, you can overwrite bits of that mapping according to the mode you are in by writing\r\n\r\n```lisp\r\n(evil-leader/set-key-for-mode 'emacs-lisp-mode \"b\" 'byte-compile-file)\r\n```\r\n\r\nbut that also does not explain that evil sorcery.\r\n\r\nEnlighten me, please. \r\n\r\nThanks in advance.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments/247247992","html_url":"https://github.com/syl20bnr/spacemacs/issues/7121#issuecomment-247247992","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/7121","id":247247992,"user":{"login":"ninrod","id":8352747,"avatar_url":"https://avatars.githubusercontent.com/u/8352747?v=3","gravatar_id":"","url":"https://api.github.com/users/ninrod","html_url":"https://github.com/ninrod","followers_url":"https://api.github.com/users/ninrod/followers","following_url":"https://api.github.com/users/ninrod/following{/other_user}","gists_url":"https://api.github.com/users/ninrod/gists{/gist_id}","starred_url":"https://api.github.com/users/ninrod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninrod/subscriptions","organizations_url":"https://api.github.com/users/ninrod/orgs","repos_url":"https://api.github.com/users/ninrod/repos","events_url":"https://api.github.com/users/ninrod/events{/privacy}","received_events_url":"https://api.github.com/users/ninrod/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T06:38:14Z","updated_at":"2016-09-15T06:38:14Z","body":"Very interesting, but wait. If I understand correctly, with bind-map, you can forget about evil-leader. Is that right?"}}
{"actor":{"display_login":"ninrod"}}