Keyboard Shortcuts

On macOS, Cmd refers to the Command key. The shortcuts below are the defaults; the ones that come from trm's Ghostty core can be rebound with keybind = lines in config.toml (for example keybind = global:ctrl+alt+backquote=toggle_quick_terminal_remote), while the ones attached to menu items are fixed.

Pane Management

ShortcutAction
Cmd+NAdd a new pane to the right in the current row
Cmd+Option+NAdd a new row with one pane
Cmd+Shift+NOpen a new window
Cmd+WClose the focused pane
Cmd+RRename the focused pane (opens rename overlay)

Pane Navigation

ShortcutAction
Cmd+1 through Cmd+9Jump to pane by number (1-indexed)
Cmd+]Focus the next pane (wraps)
Cmd+[Focus the previous pane (wraps)
Cmd+Option+LeftFocus the pane to the left
Cmd+Option+RightFocus the pane to the right
Cmd+Option+UpFocus the pane above
Cmd+Option+DownFocus the pane below
Cmd+Shift+LeftSwap focused pane with the neighbor to the left
Cmd+Shift+RightSwap focused pane with the neighbor to the right
Cmd+Shift+UpSwap focused pane with the neighbor above
Cmd+Shift+DownSwap focused pane with the neighbor below

Directional focus moves through the grid as it is drawn, not as the panes were created, so it follows what you rearranged. Rows may be ragged: moving up or down from a column a shorter row doesn't have lands on that row's last pane. At an edge the key is left alone and reaches the terminal, so Cmd+Option+Left in the leftmost pane still does whatever your shell does with it.

Font Size

ShortcutAction
Cmd++ / Cmd+=Increase font size by 2pt
Cmd+-Decrease font size by 2pt
Cmd+0Reset font size to the configured default

Broadcast and Multi-Select

ShortcutAction
Cmd+Shift+BToggle broadcast mode (type in all terminal panes at once)
Shift+Click+DragRectangle-select multiple panes
Cmd+ClickToggle a single pane in/out of the selection
Cmd+Shift+DDeselect all panes

When multiple panes are selected, the command overlay targets only those panes.

The Shelf

ShortcutAction
Cmd+Ctrl+SShow or hide the sidebar shelf
Cmd+Ctrl+HSend the focused pane to the shelf — it keeps running
Ctrl+Click a pane's barThe same thing, where your hand already is

A parked pane keeps its shell, its agent and whatever it was doing; the grid expands into the space it left. Click a tile to bring it back, ⌘-click to read it where it is, double-click its name to rename it.

Agents

ShortcutAction
Cmd+Shift+AToggle the Command Center — every agent in every window
Ctrl+ `Drop down the quick terminal
Ctrl+Option+ `Drop down the quick terminal on the remote machine

In the Command Center: click a row to reply to that agent, ⌘-click to open its Agent Overview, double-click a row's header to go to the pane. The panel header has a briefing toggle and a full-view button that gives the board the whole window.

Command Palette

ShortcutAction
Cmd+Shift+EnterOpen the command palette (AI mode by default)
Option+OptionDouble-tap Option within 400ms to open the command palette

Command Palette Modes

ModePrefixDescription
AI(none)Default. Send a prompt to the LLM for intelligent terminal control
Search@Fuzzy search over built-in commands
Command!Send raw command to focused/targeted panes

Inside the Command Palette

ShortcutAction
EscapeClose the palette
EnterSubmit the prompt / execute the selected command
Up / DownNavigate search results (in Search mode)
BackspaceDelete last character
SpaceToggle pane selection (when in target mode)

Pane Overlaying

ShortcutAction
Cmd+Shift+OAdd an overlay background pane to the current cell
Cmd+Shift+}Swap foreground and background layers
Cmd+Shift+WClose the overlay (background) pane
TabToggle focus between foreground and background layers

Rename Overlay

ShortcutAction
EscapeCancel rename
EnterConfirm rename
BackspaceDelete last character

Help Overlay

ShortcutAction
Cmd+/ or Cmd+?Toggle the help overlay
EscapeClose the help overlay
Up / kScroll up
Down / jScroll down
Page UpScroll up 10 lines
Page DownScroll down 10 lines
HomeScroll to top

Text Selection

ShortcutAction
Click+DragSelect text in a terminal pane
Double-ClickSelect a word
Ctrl+ClickSelect contiguous non-space text (URLs, paths) across wrapped lines
Ctrl+Click+DragExtend selection by space boundaries, crossing all line breaks
EscapeClear the current selection

Other

ShortcutAction
Cmd+,Open config.toml in your default editor

Terminal Input

Standard terminal key sequences are forwarded to the focused pane:

  • Enter, Backspace, Tab, Escape
  • Arrow keys (Up, Down, Left, Right)
  • Home, End, Page Up, Page Down
  • Insert, Delete
  • F1 through F12
  • Ctrl+C, Ctrl+D, Ctrl+Z, and all other Ctrl combinations