Keybindings

On macOS, Ctrl maps to Cmd (⌘) where it makes sense.

General

KeyAction
Ctrl+CQuit / clear input
Ctrl+HShow keybindings
Ctrl+NNext task chat
Ctrl+PPrevious task chat
Ctrl+FSearch messages
Ctrl+OOpen plan in editor
Ctrl+TToggle todo panel
Ctrl+XOpen tasks

Editing

KeyAction
EnterSubmit prompt
Shift+Enter / Ctrl+J / Alt+EnterInsert newline
TabToggle mode
/Open command palette (at start of input)
Ctrl+WDelete word backward
Ctrl+KDelete to end of line
Ctrl+AJump to start of line
Ctrl+UScroll half page up
Ctrl+DScroll half page down
Ctrl+YScroll one line up
Ctrl+EScroll one line down
Ctrl+GScroll to top
Ctrl+BScroll to bottom
Ctrl+QPop queue
Esc EscRewind

macOS-specific

KeyAction
⌥⌫Delete word backward
⌃← / ⌃→Move word left / right
⌥DelDelete word forward
⌘← / ⌘→Jump to start / end of line

Streaming

While the agent is running:

KeyAction
↑ / ↓Navigate input history
Esc EscCancel agent

Form Input

KeyAction
↑ / ↓Navigate options
EnterSelect option
EscClose

Picker

Pickers are used for sessions, models, themes, and more.

KeyAction
↑ / ↓Navigate
EnterSelect
EscClose
TypeFilter

Context-Specific

Some pickers add extra bindings on top of the defaults:

ContextKeyAction
Session PickerCtrl+DDelete session
Queue FocusEnterRemove item
Command PaletteTabToggle mode

Context Inheritance

Child contexts inherit their parent's bindings and add their own.

  • Picker is the base for: TaskPicker, SessionPicker, RewindPicker, ThemePicker, ModelPicker, QueueFocus, CommandPalette, Search
  • SessionPicker adds: Delete session
  • QueueFocus adds: Remove item
  • CommandPalette adds: Toggle mode