-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remapped keys (escape) in VSCode 1.11 #1479
Comments
I remapped CAPS to ESC everywhere because of MBP 2016 and now it's not working 😢 |
I think this problem is caused by VS Code's work on native keymaps (see https://github.com/Microsoft/vscode/wiki/Keybindings ). Rolling back to an earlier version of VS Code fixed it for me. |
To those having issues, VSCode has a workaround here: |
@Valve You know that in macOS you can open the keyboard settings and click modifier keys, and then set caps lock to esc. |
Yes, I did exactly that. And to be consistent I remapped `caps` to `esc` on my
linux desktop too and it broke with 1.11 @xconverge :)
|
Looks like vscode just pushed an update that should have fixed this perhaps? Looking for some of you to confirm then we can close the ticket :) |
Negative, version 1.11.2 doesn't enter Vim normal mode when I hit my remapped Caps Lock key. |
Is anyone still experiencing this issue? |
@xconverge Yes. It's very annoying. |
This setting fixed the mapping for me: {
"keyboard.dispatch": "keyCode"
} Looks like it changes the way key codes are passed around in VS Code. |
Closing as it seems like we have a workaround. Also see https://github.com/Microsoft/vscode/wiki/Keybinding-Issues |
What did you do?
Tried to use an OS remapped key, namely Caps which should produce an Escape.
What did you expect to happen?
Expected to exit from insert to normal mode in file.
What happened instead?
Nothing happened, remapped key does nothing.
Technical details:
Used to work in previous version of VSCode and latest VSCodeVim, now it doesn't. AFAIK they changed the way keybinding works, so that might be a breaking change.
The mapping works fine in every other context except from VSCodeVim (e.g. in my case pressing Caps to dismiss a VSCode popup). Layout is standard US .
The text was updated successfully, but these errors were encountered: