Reputation: 529
I'm using a US keyboard for coding. But my VS Code installation is using a different shortcut layout. How can I switch to US keyboard shortcuts?
Upvotes: 15
Views: 10203
Reputation: 948
I had the same issue as I code with DVORAK keyboard layout and setting "keyboard.dispatch": "keyCode"
in VS Code solved my issue.
Upvotes: 39
Reputation: 529
Yes, turned out this page had the answer:
https://github.com/Microsoft/vscode/wiki/Keybinding-Issues#troubleshoot-linux-keybindings
Specifically, running
setxkbmap -layout us
solved my problem.
Upvotes: 10