feat(code-server): add tracking of custom keybindings for code-server

This commit is contained in:
Victor Westerlund 2025-09-17 11:05:52 +02:00
parent cf3808deb0
commit 0af81201d3
Signed by: vlw
GPG key ID: D0AD730E1057DFC6
2 changed files with 32 additions and 0 deletions

1
.gitignore vendored
View file

@ -20,6 +20,7 @@
!.local/share/code-server/User/ !.local/share/code-server/User/
!.local/share/code-server/User/settings.json !.local/share/code-server/User/settings.json
!.local/share/code-server/User/extensions.json !.local/share/code-server/User/extensions.json
!.local/share/code-server/User/keybindings.json
!.local/share/VSCodium/ !.local/share/VSCodium/
!.local/share/VSCodium/User/ !.local/share/VSCodium/User/
!.local/share/VSCodium/User/settings.json !.local/share/VSCodium/User/settings.json

View file

@ -0,0 +1,31 @@
// Place your key bindings in this file to override the defaults
[
{
"key": "alt+oem_5",
"command": "workbench.view.explorer",
"when": "viewContainer.workbench.view.explorer.enabled"
},
{
"key": "ctrl+shift+e",
"command": "-workbench.view.explorer",
"when": "viewContainer.workbench.view.explorer.enabled"
},
{
"key": "alt+1",
"command": "workbench.action.findInFiles"
},
{
"key": "ctrl+shift+f",
"command": "-workbench.action.findInFiles"
},
{
"key": "alt+2",
"command": "workbench.view.debug",
"when": "viewContainer.workbench.view.debug.enabled"
},
{
"key": "ctrl+shift+d",
"command": "-workbench.view.debug",
"when": "viewContainer.workbench.view.debug.enabled"
}
]