Add configurable shortcuts for new chat and open-in-editor
- add `chat.new` and `editor.openFavorite` to keybinding contracts and server defaults - use shared keybinding matching in sidebar/chat view instead of hardcoded Cmd/Ctrl combos - document new commands/defaults and extend server/web keybinding tests
This commit is contained in:
1 parent
61e9ba4b19
commit
ef4ce2e1ec
8 files changed
+122
-41
No files matched your search
@@ -74,6 +74,8 @@ const DEFAULT_KEYBINDINGS: KeybindingsConfig = [
|
||||
{ key: "mod+j", command: "terminal.toggle" },
|
||||
{ key: "mod+d", command: "terminal.split", when: "terminalFocus" },
|
||||
{ key: "mod+shift+d", command: "terminal.new", when: "terminalFocus" },
|
||||
{ key: "mod+shift+o", command: "chat.new" },
|
||||
{ key: "mod+o", command: "editor.openFavorite" },
|
||||
];
|
||||
|
||||
function mergeWithDefaultKeybindings(custom: KeybindingsConfig): KeybindingsConfig {
|
||||
|
||||
Reference in new issue
Block a user