mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-03 08:53:36 +00:00
feat: add terminal keyboard shortcuts with cross-platform support
- Add splitTerminalRight, splitTerminalDown, closeTerminal to KeyboardShortcuts - Wire up shortcuts in terminal view (Cmd+D, Cmd+Shift+D, Cmd+W on Mac) - Auto-detect platform and use Ctrl instead of Cmd on Linux/Windows 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -160,6 +160,11 @@ export interface KeyboardShortcuts {
|
||||
cyclePrevProject: string;
|
||||
cycleNextProject: string;
|
||||
addProfile: string;
|
||||
|
||||
// Terminal shortcuts
|
||||
splitTerminalRight: string;
|
||||
splitTerminalDown: string;
|
||||
closeTerminal: string;
|
||||
}
|
||||
|
||||
// Default keyboard shortcuts
|
||||
@@ -188,6 +193,11 @@ export const DEFAULT_KEYBOARD_SHORTCUTS: KeyboardShortcuts = {
|
||||
cyclePrevProject: "Q", // Global shortcut
|
||||
cycleNextProject: "E", // Global shortcut
|
||||
addProfile: "N", // Only active in profiles view
|
||||
|
||||
// Terminal shortcuts (only active in terminal view)
|
||||
splitTerminalRight: "Cmd+D",
|
||||
splitTerminalDown: "Cmd+Shift+D",
|
||||
closeTerminal: "Cmd+W",
|
||||
};
|
||||
|
||||
export interface ImageAttachment {
|
||||
|
||||
Reference in New Issue
Block a user