configuration - Where manually configured keyboard shortcut bindings in Visual Studio Code are stored, on Ubuntu 24.04? - Stack

from How can I change keyboard shortcut bindings in Visual Studio Code? I know that I can use File ->

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 Same directory as settings.json, called keybindings.json. – HolyBlackCat Commented Mar 6 at 17:31
  • oh well, how I missed that? - feel free to make an answer! – reducing activity Commented Mar 6 at 17:32
Add a comment  | 

1 Answer 1

Reset to default 1

It 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

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信