Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 761
hba Avatar asked Mar 16 '18 04:03

hba


People also ask

How do I reset my Keyboard Shortcuts?

Follow these steps:Select General, Keys. The Keys dialog shows the preferences for shortcut keys. Click Restore Defaults. The Restore Keyboard Defaults dialog opens.

How do I change hotkeys in Visual Studio?

On the menu bar, choose Tools > Options. Expand Environment, and then choose Keyboard. Optional: Filter the list of commands by entering all or part of the name of the command, without spaces, in the Show commands containing box. In the list, choose the command to which you want to assign a keyboard shortcut.


2 Answers

Version 1.34.0 seems to have the settings at a slightly different location:

  1. Click File > Preferences > Keyboard Shortcuts
  2. There is a triple-dot (...) at the top-right hand corner. Click on that and select "Show User Keybindings"
  3. Delete your listed keybindings
like image 160
Pradeep Anchan Avatar answered Sep 19 '22 15:09

Pradeep Anchan


Here are the steps to reset the keybindings in VS code.

  1. Click File > Preferences > Keyboard Shortcuts or Press Ctrl+K Ctrl+S

enter image description here

  1. Then, click on keybindings.json

enter image description here

  1. From keybindings.json remove the custom bindings you want to reset.
like image 26
Bestin John Avatar answered Sep 22 '22 15:09

Bestin John