Lars Melander
Lars Melander

Reputation: 529

VS Code has wrong keyboard shortcut layout

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

Answers (2)

gruvw
gruvw

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

Lars Melander
Lars Melander

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

Related Questions