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

Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/43
This commit is contained in:
Victor Westerlund 2025-09-17 11:06:54 +02:00
parent cf3808deb0
commit 4e516e22da
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"
}
]