{"action":"created","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/1462","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/1462/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/1462/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/1462/events","html_url":"https://github.com/syl20bnr/spacemacs/issues/1462","id":72405764,"number":1462,"title":"Magit: s in visual-state should call magit-stage-item","user":{"login":"luxbock","id":2667851,"avatar_url":"https://avatars.githubusercontent.com/u/2667851?v=3","gravatar_id":"","url":"https://api.github.com/users/luxbock","html_url":"https://github.com/luxbock","followers_url":"https://api.github.com/users/luxbock/followers","following_url":"https://api.github.com/users/luxbock/following{/other_user}","gists_url":"https://api.github.com/users/luxbock/gists{/gist_id}","starred_url":"https://api.github.com/users/luxbock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luxbock/subscriptions","organizations_url":"https://api.github.com/users/luxbock/orgs","repos_url":"https://api.github.com/users/luxbock/repos","events_url":"https://api.github.com/users/luxbock/events{/privacy}","received_events_url":"https://api.github.com/users/luxbock/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/Fixed%20in%20%60develop%60","name":"Fixed in `develop`","color":"006b75"},{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/Git","name":"Git","color":"207de5"},{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/regression%20:-(","name":"regression :-(","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-01T10:49:34Z","updated_at":"2015-05-07T23:47:00Z","closed_at":null,"body":"Magit allows one to make very fine grained commits by visually selecting part of the diff in the `magit-status` buffer and then calling `magit-stage-item`, which is normally bound to `s`. However `evil-surround` currently overshadows this key in `visual-state`.\r\n\r\nI tried\r\n\r\n```elisp\r\n(evil-define-key 'visual magit-status-mode-map (kbd \"s\") 'magit-stage-item)\r\n```\r\n\r\nwhich didn't fix the problem."},"comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments/100048047","html_url":"https://github.com/syl20bnr/spacemacs/issues/1462#issuecomment-100048047","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/1462","id":100048047,"user":{"login":"jupl","id":2065876,"avatar_url":"https://avatars.githubusercontent.com/u/2065876?v=3","gravatar_id":"","url":"https://api.github.com/users/jupl","html_url":"https://github.com/jupl","followers_url":"https://api.github.com/users/jupl/followers","following_url":"https://api.github.com/users/jupl/following{/other_user}","gists_url":"https://api.github.com/users/jupl/gists{/gist_id}","starred_url":"https://api.github.com/users/jupl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jupl/subscriptions","organizations_url":"https://api.github.com/users/jupl/orgs","repos_url":"https://api.github.com/users/jupl/repos","events_url":"https://api.github.com/users/jupl/events{/privacy}","received_events_url":"https://api.github.com/users/jupl/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T23:47:00Z","updated_at":"2015-05-07T23:47:00Z","body":"`s` and `u` is working great for staging/unstaging. Can we get discard as well? `K` is currently bound to `evil-lookup`."}}