visual-studio-code

How can I export default keyboard bindings from VSCode Mac, so that they're the same in Linux?


I have a Mac, and a Linux VM where I use VSCode. The keybindings in Linux do not match Mac. This is a problem.

I want to export all keyboard bindings from VSCode in Mac. Or find the source code file and copy it over. Or make a custom build if necessary. But which files are used?

How can I do that?

I tried looking at VSCode in Github and I couldn't find the relevant files.


Solution

  • It seems that these are viewable through Cmd + P and selecting "Open Default Keyboard Shortcuts (JSON)".

    This opens an embedded read-only file "keybindings.json".