Guides

Keyboard reference

Mentat's default shortcuts on macOS, grouped by where they work. The app's commands can be rebound in the Keyboard Shortcuts window; the composer's own keys are fixed.

Checked against Mentat's code on .

In the composer

KeysWhat it does
EnterSend. While a turn is running, steer into it.
TabQueue the message for after the turn.
Ctrl + EnterCut the reply short. Claude Code only; elsewhere it sends.
Shift + TabCycle the permission mode.
@Mention one of the chat's agents, another chat or a file. Enter or Tab inserts the highlighted one; Esc closes the list.
EscStop the running turn, after closing an open checklist or menu.
Shift + EnterNew line.
UpTake waiting messages back to edit; then walk back through earlier prompts.
Ctrl + BMove a running foreground command to the background. Claude Code only.

On a card

CardKeys
ApprovalUp and Down to choose, Enter to answer, Esc to dismiss.
QuestionArrows to choose, Left and Right between questions, Enter, Cmd + Enter to send.
PlanArrows to choose, Enter to answer.

Across the app

KeysCommand
Cmd + NNew agent session
Cmd + Shift + NNew window
Cmd + OOpen repository
Cmd + PCommand palette
Cmd + FFind
Cmd + ,Settings
Cmd + /Keyboard shortcuts
Cmd + BToggle sidebar
Cmd + Shift + BToggle details
Ctrl + \Toggle terminal
Cmd + Shift + ] or Ctrl + TabNext tab
Cmd + Shift + [ or Ctrl + Shift + TabPrevious tab
Cmd + WClose tab
Cmd + Shift + ASwitch between History and Agents
Cmd + Shift + EShow code
Cmd + Shift + HShow history
Cmd + = / Cmd + - / Cmd + 0Larger, smaller and default text size

When focus is not in a text field

KeysWhat it does
EnterJump to the session's terminal.
Shift + G or EndJump to the latest message.
Tab / Shift + TabNext and previous file tab.
Cmd + Left / Cmd + RightBack and forward.
Cmd + Shift + Left / RightPrevious and next mode.

Changing shortcuts

Settings, Keybindings, Open Keyboard Shortcuts opens the Keyboard Shortcuts window. Each command's menu offers Change keybinding, Add keybinding, Remove keybinding and Reset keybinding, and a shortcut that is already taken is marked Also bound to. Reset all keybindings restores the defaults.

The composer's keys (Enter, Tab, Ctrl + Enter, Shift + Tab, Esc and Ctrl + B) are fixed and do not appear in that window.

Vim mode is off by default. Turn it on with the Toggle Vim mode command in the command palette. Under Vim, Enter sends from Normal and Insert mode.

For engineers who stay close to the code

Set your agents in motion

Free to use, with no card. Every new account starts with fourteen days of Pro.

macOS 13 or later, Apple silicon. Windows is next. Git 2.45 or later. At least one of Claude Code, Codex or Grok Build, installed and signed in.