How to reset Visual Studio Code key bindings?
I have been experimenting with my vs-code key bindings.
I would like to reset the key-bindings to the original settings.
How do I do that?
I am on Linux Mint 18.
I tried removing all the records from the keybindings.json
Version 1.34.0 seems to have the settings at a slightly different location:
- Click File > Preferences > Keyboard Shortcuts
- There is a triple-dot (...) at the top-right hand corner. Click on that and select "Show User Keybindings"
- Delete your listed keybindings
Here are the steps to reset the keybindings in VS code.
- Click File > Preferences > Keyboard Shortcuts or Press Ctrl+K Ctrl+S
- Then, click on keybindings.json
- From keybindings.json remove the custom bindings you want to reset.
It seems newer versions of VSCode (>1.33 for Mac) doesn't have a direct link to keybindings.json
anymore, as this answer shows. However, there is an option to reset user defined keybindings without mess with files.
Go to the Keyboard shortcuts settings:
There, find the setting tagged as "User". If you click on it with the right mouse button, a context menu will show the option "Reset Keybinding":
This action is gonna reset the selected keybinding and tag it with "Default" again.
first go file > preferences > keyboard shortcuts
you can see all key that you change whit click on triple-dot
or put ( @source:user ) in search bar
now you can right click on which one that you want to reset and select ( reset keybinding )