mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
feat(shortcuts): add favorite model cycle shortcut (Ctrl+R)
This commit is contained in:
1 parent
994a8b82e8
commit
e89b782fef
7 files changed
+71
-5
No files matched your search
@@ -81,6 +81,7 @@ export const DEFAULT_KEYBOARD_SHORTCUTS = {
|
||||
toggleSidebar: 'B',
|
||||
selectModel: 'M',
|
||||
variantCycle: 'Ctrl+T',
|
||||
favoriteCycle: 'Ctrl+R',
|
||||
toggleTerminal: 'T',
|
||||
toggleSourceControl: '',
|
||||
timeline: 'G',
|
||||
@@ -91,7 +92,7 @@ export const DEFAULT_KEYBOARD_SHORTCUTS = {
|
||||
|
||||
export type KeyboardShortcutAction = keyof typeof DEFAULT_KEYBOARD_SHORTCUTS;
|
||||
|
||||
export const DEFAULT_DIRECT_SHORTCUTS = ['submit', 'abort', 'clearPrompt', 'toggleMode', 'variantCycle', 'halfPageUp', 'halfPageDown'];
|
||||
export const DEFAULT_DIRECT_SHORTCUTS = ['submit', 'abort', 'clearPrompt', 'toggleMode', 'variantCycle', 'favoriteCycle', 'halfPageUp', 'halfPageDown'];
|
||||
|
||||
export const GitCredentialSchema = z.object({
|
||||
id: z.string().optional(),
|
||||
|
||||
Reference in new issue
Block a user