{"action":"created","issue":{"url":"https://api.github.com/repos/VSCodeVim/Vim/issues/2419","repository_url":"https://api.github.com/repos/VSCodeVim/Vim","labels_url":"https://api.github.com/repos/VSCodeVim/Vim/issues/2419/labels{/name}","comments_url":"https://api.github.com/repos/VSCodeVim/Vim/issues/2419/comments","events_url":"https://api.github.com/repos/VSCodeVim/Vim/issues/2419/events","html_url":"https://github.com/VSCodeVim/Vim/issues/2419","id":302195951,"number":2419,"title":"Swapped keys (CAPS LOCK <-> ESCAPE) are not applied","user":{"login":"rok-povsic","id":1495233,"avatar_url":"https://avatars1.githubusercontent.com/u/1495233?v=4","gravatar_id":"","url":"https://api.github.com/users/rok-povsic","html_url":"https://github.com/rok-povsic","followers_url":"https://api.github.com/users/rok-povsic/followers","following_url":"https://api.github.com/users/rok-povsic/following{/other_user}","gists_url":"https://api.github.com/users/rok-povsic/gists{/gist_id}","starred_url":"https://api.github.com/users/rok-povsic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rok-povsic/subscriptions","organizations_url":"https://api.github.com/users/rok-povsic/orgs","repos_url":"https://api.github.com/users/rok-povsic/repos","events_url":"https://api.github.com/users/rok-povsic/events{/privacy}","received_events_url":"https://api.github.com/users/rok-povsic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-05T07:26:10Z","updated_at":"2018-03-07T17:04:04Z","closed_at":"2018-03-07T17:04:04Z","author_association":"NONE","body":"**Is this a BUG REPORT or FEATURE REQUEST?** (choose one):\r\nBug report.\r\n\r\n**What happened**:\r\nI have CAPS LOCK and ESC swapped as escaping is more common for me than switching typing case. The swap works everywhere - in all programs, terminal etc., including VS Code menues - except when actually typing the text, using VS Code Vim, i.e. when trying to get out of the normal mode.\r\n\r\nFor example, what happens now is the following - when in insert mode:\r\n- pressing the CAPS LOCK key - no effect,\r\n- pressing the ESCAPE key - goes to normal mode AND current typing case is switched.\r\n\r\n**What did you expect to happen**:\r\n\r\nI'd expect  ESC and CAPS LOCK to be swapped same as everywhere else in the system.\r\n\r\n**How to reproduce it (as minimally and precisely as possible)**:\r\n\r\nUsing Gnome Tweak Tool, enable the swap:\r\n![image](https://user-images.githubusercontent.com/1495233/36961904-9dfa059c-204d-11e8-9758-1293b36385c0.png)\r\n\r\nI've also tried using another swap keys approach, by modifying `/usr/share/X11/xkb/symbols/pc` (as per [this post](https://askubuntu.com/questions/325272/permanent-xmodmap-in-ubuntu-13-04/347382#347382?newreg=4eb097870a15490ebbe39d78412f9797)) with same result.\r\n\r\n**Environment**:\r\n\r\n- Extension (VsCodeVim) version: **0.11.0**\r\n- VSCode version: **1.20.1**\r\n- OS version: **Ubuntu 16.04, Gnome 3.18.2**\r\n\r\nThank you a lot. I greatly enjoy using VS Code & the Vim plugin."},"comment":{"url":"https://api.github.com/repos/VSCodeVim/Vim/issues/comments/371208303","html_url":"https://github.com/VSCodeVim/Vim/issues/2419#issuecomment-371208303","issue_url":"https://api.github.com/repos/VSCodeVim/Vim/issues/2419","id":371208303,"user":{"login":"Chillee","id":6355099,"avatar_url":"https://avatars1.githubusercontent.com/u/6355099?v=4","gravatar_id":"","url":"https://api.github.com/users/Chillee","html_url":"https://github.com/Chillee","followers_url":"https://api.github.com/users/Chillee/followers","following_url":"https://api.github.com/users/Chillee/following{/other_user}","gists_url":"https://api.github.com/users/Chillee/gists{/gist_id}","starred_url":"https://api.github.com/users/Chillee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chillee/subscriptions","organizations_url":"https://api.github.com/users/Chillee/orgs","repos_url":"https://api.github.com/users/Chillee/repos","events_url":"https://api.github.com/users/Chillee/events{/privacy}","received_events_url":"https://api.github.com/users/Chillee/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T17:04:04Z","updated_at":"2018-03-07T17:04:04Z","author_association":"MEMBER","body":"This is a bug on VSCode's end. View a workaround here: https://github.com/VSCodeVim/Vim/issues/1479#issuecomment-292452557"}}
{"actor":{"display_login":"Chillee"}}