From 0af81201d349ce4b16c8ff4335b6eb3a73142105 Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Wed, 17 Sep 2025 11:05:52 +0200 Subject: [PATCH] feat(code-server): add tracking of custom keybindings for code-server --- .gitignore | 1 + .../share/code-server/User/keybindings.json | 31 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 .local/share/code-server/User/keybindings.json diff --git a/.gitignore b/.gitignore index 9175270..f296ae8 100644 --- a/.gitignore +++ b/.gitignore @@ -20,6 +20,7 @@ !.local/share/code-server/User/ !.local/share/code-server/User/settings.json !.local/share/code-server/User/extensions.json +!.local/share/code-server/User/keybindings.json !.local/share/VSCodium/ !.local/share/VSCodium/User/ !.local/share/VSCodium/User/settings.json diff --git a/.local/share/code-server/User/keybindings.json b/.local/share/code-server/User/keybindings.json new file mode 100644 index 0000000..9713576 --- /dev/null +++ b/.local/share/code-server/User/keybindings.json @@ -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" + } +] \ No newline at end of file