To reset all keyboard shortcuts to their default settings:
-
Press Ctrl + Shift + P (or Cmd + Shift + P on macOS) to open the Command Palette.
-
Type Keyboard Shortcuts and select Preferences: Open Keyboard Shortcuts.
-
Click on the {} icon in the upper right corner to open the keybindings.json file.
-
Save a backup of the keybindings.json file to another location, just in case you need to restore some or all of it later.
-
Delete all the content in keybindings.json, leaving just an empty set of square brackets: .
-
Save the file and close it.
This action will remove all custom keybindings, reverting your keyboard shortcuts to their default configurations.