{"action":"created","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/3362","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/3362/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/3362/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/3362/events","html_url":"https://github.com/syl20bnr/spacemacs/issues/3362","id":111101157,"number":3362,"title":"[magit]  the K is bound to magit-file-untrack ????","user":{"login":"zilongshanren","id":785541,"avatar_url":"https://avatars.githubusercontent.com/u/785541?v=3","gravatar_id":"","url":"https://api.github.com/users/zilongshanren","html_url":"https://github.com/zilongshanren","followers_url":"https://api.github.com/users/zilongshanren/followers","following_url":"https://api.github.com/users/zilongshanren/following{/other_user}","gists_url":"https://api.github.com/users/zilongshanren/gists{/gist_id}","starred_url":"https://api.github.com/users/zilongshanren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zilongshanren/subscriptions","organizations_url":"https://api.github.com/users/zilongshanren/orgs","repos_url":"https://api.github.com/users/zilongshanren/repos","events_url":"https://api.github.com/users/zilongshanren/events{/privacy}","received_events_url":"https://api.github.com/users/zilongshanren/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/bug%20:-(","name":"bug :-(","color":"fc2929"},{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/Core","name":"Core","color":"207de5"},{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/Evilified","name":"Evilified","color":"207de5"},{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/Git","name":"Git","color":"207de5"},{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/High%20Priority","name":"High Priority","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-10-13T04:10:49Z","updated_at":"2015-10-17T18:54:38Z","closed_at":null,"body":"Shouldn't it be bound to magit-discard?  @syl20bnr  Anything missing ?\r\n\r\nI'm on the latest develop branch."},"comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments/148942939","html_url":"https://github.com/syl20bnr/spacemacs/issues/3362#issuecomment-148942939","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/3362","id":148942939,"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-10-17T18:54:38Z","updated_at":"2015-10-17T18:54:38Z","body":"There does seem to be something wrong with the evilified state at least in the magit-status buffer. On an unstaged file, I get that `K` and `C-k` are both bound to `magit-file-untrack`, when I believe `K` should be bound to `magit-discard`. Here is my `magit-unstaged-section-map`\r\n\r\n```\r\nmagit-unstaged-section-map\r\n--------------------------\r\n\r\nFor more information check the manuals.\r\n\r\nKeymap for the `unstaged' section.\r\n\r\nkey             binding\r\n---             -------\r\n\r\ns               magit-stage\r\nu               magit-unstage\r\n<evilified-state>               Prefix Command\r\n<remap>         Prefix Command\r\n\r\n<evilified-state> C-b           evil-scroll-page-up\r\n<evilified-state> C-d           evil-scroll-down\r\n<evilified-state> C-f           evil-scroll-page-down\r\n<evilified-state> C-u           evil-scroll-up\r\n<evilified-state> C-z           evil-emacs-state\r\n<evilified-state> SPC           Prefix Command\r\n<evilified-state> /             evil-search-forward\r\n<evilified-state> :             evil-ex\r\n<evilified-state> G             evil-goto-line\r\n<evilified-state> N             evil-search-previous\r\n<evilified-state> V             evil-visual-line\r\n<evilified-state> g             Prefix Command\r\n<evilified-state> h             evil-backward-char\r\n<evilified-state> j             evil-next-visual-line\r\n<evilified-state> k             evil-previous-visual-line\r\n<evilified-state> l             evil-forward-char\r\n<evilified-state> n             evil-search-next\r\n<evilified-state> v             evil-visual-char\r\n\r\n<remap> <magit-delete-thing>    magit-discard\r\n<remap> <magit-visit-thing>     magit-diff-unstaged\r\n```\r\n\r\nand here's the definition of the `magit-unstaged-section-map`\r\n\r\n```\r\n(defvar magit-unstaged-section-map\r\n  (let ((map (make-sparse-keymap)))\r\n    (define-key map [remap magit-visit-thing]  'magit-diff-unstaged)\r\n    (define-key map [remap magit-delete-thing] 'magit-discard)\r\n    (define-key map \"s\" 'magit-stage)\r\n    (define-key map \"u\" 'magit-unstage)\r\n    map)\r\n  \"Keymap for the `unstaged' section.\")\r\n```\r\nPerhaps something is wrong when the keys are defined through `remap`\r\n\r\nBy the way there's an easy way to disable evilified state temporarily. Use `C-z` to put yourself in emacs state. You can use this to narrow down the problem"}}