How to update keyboard shortcuts in VScode

If you need to update your shortcuts in VScode first open the command palette, on a mac you can do this through cmd+shift+p. This is not to be confused with your user settings file.

Next type “Open Keyboard Shortcuts” and select it. This will open a JSON configuration file that you can paste your shortcuts in. Each configuration object has at two keys “key” and “command” which are fairly self explanatory and here is an example for reference:

    "key": "alt+x",
    "command": "editor.action.selectToBracket"
    "key": "cmd+k",
    "command": "workbench.files.action.collapseExplorerFolders"