Skip to content

Keyboard Shortcuts

CommandUI is designed for keyboard-first operation. All major actions are reachable without a pointer.

These work from anywhere in the app:

ShortcutAction
Ctrl+KOpen command palette
Ctrl+JFocus composer
Ctrl+LClear terminal
Ctrl+TNew session
Ctrl+HToggle history drawer
Ctrl+Shift+WToggle workflow drawer
Ctrl+MToggle memory drawer
Ctrl+,Toggle settings drawer
Ctrl+1Ctrl+9Switch to session 1–9
Ctrl+WClose current session (Tauri only)
EscapeClose all open drawers/overlays
Ctrl+EnterApprove and execute the current plan

These work when the plan panel has focus:

ShortcutAction
AApprove plan (same as Run Plan button)
RReject plan
EFocus the command edit textarea
ShortcutAction
EnterSubmit
Ctrl+1Switch to Command mode
Ctrl+2Switch to Ask mode

The shortcut system is zone-aware. The app tracks which zone has focus:

  • composer — the input textarea
  • terminal — the xterm.js terminal
  • plan — the plan panel
  • drawer — any open drawer
  • palette — the command palette
  1. Zone-specific matches take priority over global matches
  2. Bare-key shortcuts (single letter, no modifier) are suppressed in text-input zones (terminal, composer) to avoid interfering with typing
  3. Special keys (Escape, Enter, Tab) work in text-input zones
  4. Modifier combos (Ctrl+..., Shift+...) work everywhere

Some shortcuts have when guards — they only activate when specific conditions are true. For example, the plan approval shortcut only works when a plan is present.

Ctrl+K opens the command palette — a searchable list of all available actions. Type to filter, use arrow keys to navigate, Enter to execute. This provides discoverability for actions you might not know the shortcut for.