{"action":"created","issue":{"url":"https://api.github.com/repos/jwiegley/use-package/issues/263","labels_url":"https://api.github.com/repos/jwiegley/use-package/issues/263/labels{/name}","comments_url":"https://api.github.com/repos/jwiegley/use-package/issues/263/comments","events_url":"https://api.github.com/repos/jwiegley/use-package/issues/263/events","html_url":"https://github.com/jwiegley/use-package/issues/263","id":109553834,"number":263,"title":"Request for :bind like keyword to also specify the keymap","user":{"login":"kaushalmodi","id":3578197,"avatar_url":"https://avatars.githubusercontent.com/u/3578197?v=3","gravatar_id":"","url":"https://api.github.com/users/kaushalmodi","html_url":"https://github.com/kaushalmodi","followers_url":"https://api.github.com/users/kaushalmodi/followers","following_url":"https://api.github.com/users/kaushalmodi/following{/other_user}","gists_url":"https://api.github.com/users/kaushalmodi/gists{/gist_id}","starred_url":"https://api.github.com/users/kaushalmodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaushalmodi/subscriptions","organizations_url":"https://api.github.com/users/kaushalmodi/orgs","repos_url":"https://api.github.com/users/kaushalmodi/repos","events_url":"https://api.github.com/users/kaushalmodi/events{/privacy}","received_events_url":"https://api.github.com/users/kaushalmodi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-02T19:09:10Z","updated_at":"2015-10-02T19:29:24Z","closed_at":"2015-10-02T19:29:24Z","body":"I like to bind keys in my minor mode map.\r\n\r\nSo I have constructs like below for almost all the packages:\r\n\r\n```el\r\n(use-package foo\r\n  :commands (foo1 foo2)\r\n  :init\r\n  (progn\r\n    (bind-key \"C-c f\" #'foo1 my-mode-map)\r\n    (bind-key \"C-c g\" #'foo2 my-mode-map)))\r\n```\r\n\r\nI'd like to use the `:bind` key but it does not accept the keymap argument. *Correct?* \r\n\r\nIt would be cool to have something like below:\r\n\r\n```el\r\n(use-package foo\r\n  :bind2 (my-mode-map . ((\"C-c f\" . foo1)\r\n                         (\"C-c g\" . foo2))))\r\n```\r\n\r\n- It makes the custom keymap bindings more concise \r\n- Also autoloads `foo1` and `foo2` (in the example above)"},"comment":{"url":"https://api.github.com/repos/jwiegley/use-package/issues/comments/145132162","html_url":"https://github.com/jwiegley/use-package/issues/263#issuecomment-145132162","issue_url":"https://api.github.com/repos/jwiegley/use-package/issues/263","id":145132162,"user":{"login":"kaushalmodi","id":3578197,"avatar_url":"https://avatars.githubusercontent.com/u/3578197?v=3","gravatar_id":"","url":"https://api.github.com/users/kaushalmodi","html_url":"https://github.com/kaushalmodi","followers_url":"https://api.github.com/users/kaushalmodi/followers","following_url":"https://api.github.com/users/kaushalmodi/following{/other_user}","gists_url":"https://api.github.com/users/kaushalmodi/gists{/gist_id}","starred_url":"https://api.github.com/users/kaushalmodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaushalmodi/subscriptions","organizations_url":"https://api.github.com/users/kaushalmodi/orgs","repos_url":"https://api.github.com/users/kaushalmodi/repos","events_url":"https://api.github.com/users/kaushalmodi/events{/privacy}","received_events_url":"https://api.github.com/users/kaushalmodi/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T19:29:24Z","updated_at":"2015-10-02T19:29:24Z","body":"My apologies."}}