{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom-keymap/issues/116","repository_url":"https://api.github.com/repos/atom/atom-keymap","labels_url":"https://api.github.com/repos/atom/atom-keymap/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom-keymap/issues/116/comments","events_url":"https://api.github.com/repos/atom/atom-keymap/issues/116/events","html_url":"https://github.com/atom/atom-keymap/issues/116","id":136820383,"number":116,"title":"Inconsistent behavior overriding character keys on Linux vs Windows","user":{"login":"CJKinni","id":251233,"avatar_url":"https://avatars.githubusercontent.com/u/251233?v=3","gravatar_id":"","url":"https://api.github.com/users/CJKinni","html_url":"https://github.com/CJKinni","followers_url":"https://api.github.com/users/CJKinni/followers","following_url":"https://api.github.com/users/CJKinni/following{/other_user}","gists_url":"https://api.github.com/users/CJKinni/gists{/gist_id}","starred_url":"https://api.github.com/users/CJKinni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CJKinni/subscriptions","organizations_url":"https://api.github.com/users/CJKinni/orgs","repos_url":"https://api.github.com/users/CJKinni/repos","events_url":"https://api.github.com/users/CJKinni/events{/privacy}","received_events_url":"https://api.github.com/users/CJKinni/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/atom-keymap/labels/linux","name":"linux","color":"c7def8"},{"url":"https://api.github.com/repos/atom/atom-keymap/labels/needs-reproduction","name":"needs-reproduction","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-26T21:35:15Z","updated_at":"2016-04-01T21:52:02Z","closed_at":null,"body":"On Windows, when I set 'k': 'core:cut' in a particular context, it will perform a cut. When I do the same on Linux, it will perform a cut then type a 'k'.\r\n\r\nI'm working on a package to switch between an insert mode and a command mode similar to vim.  My keybindings look like this:\r\n\r\n\r\n```cson\r\n'atom-text-editor':\r\n  'escape': 'modal-keybindings:toggle'\r\n\r\n'atom-text-editor.modal-command-mode':\r\n  'y': 'core:redo'\r\n  'z': 'core:undo'\r\n  'k': 'core:cut'\r\n  'v': 'core:paste'\r\n  'o': 'core:save'\r\n  'a': 'editor:move-to-beginning-of-word'\r\n  's': 'editor:move-to-previous-subword-boundary'\r\n  'd': 'editor:move-to-next-subword-boundary'\r\n  'f': 'editor:move-to-end-of-word'\r\n```\r\n\r\nThis format seems to work fine on Windows, but on Linux, the keybindings don't seem to be overriding the existing 'type a character' action, and instead the key performs the command and then types a character."},"comment":{"url":"https://api.github.com/repos/atom/atom-keymap/issues/comments/204581923","html_url":"https://github.com/atom/atom-keymap/issues/116#issuecomment-204581923","issue_url":"https://api.github.com/repos/atom/atom-keymap/issues/116","id":204581923,"user":{"login":"fracalo","id":4067487,"avatar_url":"https://avatars.githubusercontent.com/u/4067487?v=3","gravatar_id":"","url":"https://api.github.com/users/fracalo","html_url":"https://github.com/fracalo","followers_url":"https://api.github.com/users/fracalo/followers","following_url":"https://api.github.com/users/fracalo/following{/other_user}","gists_url":"https://api.github.com/users/fracalo/gists{/gist_id}","starred_url":"https://api.github.com/users/fracalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fracalo/subscriptions","organizations_url":"https://api.github.com/users/fracalo/orgs","repos_url":"https://api.github.com/users/fracalo/repos","events_url":"https://api.github.com/users/fracalo/events{/privacy}","received_events_url":"https://api.github.com/users/fracalo/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T21:52:02Z","updated_at":"2016-04-01T21:52:02Z","body":"confirm this behavior on 1.6.1.\r\n\r\nbut seems to work as expected on:\r\n```\r\nAtom    : 1.7.0-beta4\r\nElectron: 0.36.8\r\nChrome  : 47.0.2526.110\r\nNode    : 5.1.1\r\n```\r\n"}}