{"action":"created","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/3031","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/3031/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/3031/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/3031/events","html_url":"https://github.com/syl20bnr/spacemacs/pull/3031","id":106401664,"number":3031,"title":"core-keys: Map `M-m` to mode-map when available","user":{"login":"justbur","id":2208382,"avatar_url":"https://avatars.githubusercontent.com/u/2208382?v=3","gravatar_id":"","url":"https://api.github.com/users/justbur","html_url":"https://github.com/justbur","followers_url":"https://api.github.com/users/justbur/followers","following_url":"https://api.github.com/users/justbur/following{/other_user}","gists_url":"https://api.github.com/users/justbur/gists{/gist_id}","starred_url":"https://api.github.com/users/justbur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justbur/subscriptions","organizations_url":"https://api.github.com/users/justbur/orgs","repos_url":"https://api.github.com/users/justbur/repos","events_url":"https://api.github.com/users/justbur/events{/privacy}","received_events_url":"https://api.github.com/users/justbur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-14T18:34:15Z","updated_at":"2015-09-14T20:03:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/3031","html_url":"https://github.com/syl20bnr/spacemacs/pull/3031","diff_url":"https://github.com/syl20bnr/spacemacs/pull/3031.diff","patch_url":"https://github.com/syl20bnr/spacemacs/pull/3031.patch"},"body":"This is how evil-leader gets `SPC m` to work for mode specific bindings,\r\nand we need to mirror this step for `M-m`"},"comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments/140190772","html_url":"https://github.com/syl20bnr/spacemacs/pull/3031#issuecomment-140190772","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/3031","id":140190772,"user":{"login":"justbur","id":2208382,"avatar_url":"https://avatars.githubusercontent.com/u/2208382?v=3","gravatar_id":"","url":"https://api.github.com/users/justbur","html_url":"https://github.com/justbur","followers_url":"https://api.github.com/users/justbur/followers","following_url":"https://api.github.com/users/justbur/following{/other_user}","gists_url":"https://api.github.com/users/justbur/gists{/gist_id}","starred_url":"https://api.github.com/users/justbur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justbur/subscriptions","organizations_url":"https://api.github.com/users/justbur/orgs","repos_url":"https://api.github.com/users/justbur/repos","events_url":"https://api.github.com/users/justbur/events{/privacy}","received_events_url":"https://api.github.com/users/justbur/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T20:03:03Z","updated_at":"2015-09-14T20:03:03Z","body":"@TheBB @syl20bnr This turned into a bigger rewrite than I intended, but this is the right way to do this. Please test it yourselves, but for comparison look at the mode hook in the evil-leader package. Everytime it fires evil-leader looks up the mode-map and binds it to the leader key if it exists. We need to do the same thing for `M-m` or `M-m m` won't work. "}}