I accidentally removed a whole keyboard shortcut instead of just removing the associated keys. I don't exactly remember which one I removed and I have no idea on how to bring it back.
Any help?
CodePudding user response:
Try putting it back to default settings, it should do the trick...
Single binding to default:
- Go to File > Preferences > Keyboard Shortcuts
- Look for three vertical dots in the upper right corner
- Select "Show User Keybindings"
- Right click on key you want to and select "Reset keybinding"
All bindings to default:
- Press Ctrl Shift P
- Type "Open Keyboard Shortcuts (JSON)" and open it
- Remove everything from keybindings.json and type empty [ ] into it.
- Click save and reopen VSCode
CodePudding user response:
You can locate keybindings.json file in %appdata%\Code\User folder and see what keybinding have been removed. If you delete this file it will reset keybindings to default