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:
Julius Marminge authored and Julius Marminge committed 2026-02-15 15:51:05 -08:00
1 parent 61e9ba4b19
commit ef4ce2e1ec
8 files changed
+122 -41

No files matched your search

+2
View File
@@ -4,6 +4,8 @@ export const keybindingCommandSchema = z.enum([
"terminal.toggle",
"terminal.split",
"terminal.new",
"chat.new",
"editor.openFavorite",
]);
const keybindingValueSchema = z.string().trim().min(1).max(64);