- 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
Showing the changes to apps/server/src/wsServer.ts (1 of 8 files). Show all
Unified · Split
| @@ -74,6 +74,8 @@ const DEFAULT_KEYBINDINGS: KeybindingsConfig = [ · 73 unmodified lines | |||
| 74 | { key: "mod+j", command: "terminal.toggle" }, | 74 | { key: "mod+j", command: "terminal.toggle" }, |
| 75 | { key: "mod+d", command: "terminal.split", when: "terminalFocus" }, | 75 | { key: "mod+d", command: "terminal.split", when: "terminalFocus" }, |
| 76 | { key: "mod+shift+d", command: "terminal.new", when: "terminalFocus" }, | 76 | { key: "mod+shift+d", command: "terminal.new", when: "terminalFocus" }, |
| 77 | { key: "mod+shift+o", command: "chat.new" }, | ||
| 78 | { key: "mod+o", command: "editor.openFavorite" }, | ||
| 77 | ]; | 79 | ]; |
| 78 | 80 | ||
| 79 | function mergeWithDefaultKeybindings(custom: KeybindingsConfig): KeybindingsConfig { | 81 | function mergeWithDefaultKeybindings(custom: KeybindingsConfig): KeybindingsConfig { |