from How can I change keyboard shortcut bindings in Visual Studio Code? I know that I can use File -> Preferences -> Keyboard shortcuts
to manually configure them.
But for some reason, once changed those are not saved in my config file (which I keep in my dotfiles repository, to avoid manual reconfiguration over and over again).
Where keyboard shortcuts config is stored? (to avoid XY problem: how can I restore it from CLI on new system?)
from How can I change keyboard shortcut bindings in Visual Studio Code? I know that I can use File -> Preferences -> Keyboard shortcuts
to manually configure them.
But for some reason, once changed those are not saved in my config file (which I keep in my dotfiles repository, to avoid manual reconfiguration over and over again).
Where keyboard shortcuts config is stored? (to avoid XY problem: how can I restore it from CLI on new system?)
Share Improve this question asked Mar 6 at 17:30 reducing activityreducing activity 2,3304 gold badges44 silver badges73 bronze badges 2 |1 Answer
Reset to default 1It is at ~/.config/Code/User/keybindings.json
. In the same directory as settings.json
.
You can figure this out by opening the keyboard settings, pressing Open JSON
in the top-right corner, and looking at the path of the file that opens.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744958823a4603361.html
settings.json
, calledkeybindings.json
. – HolyBlackCat Commented Mar 6 at 17:31