Input Shortcuts
These shortcuts work while typing at the prompt.| Shortcut | Description |
|---|---|
Enter | Submit your message |
Shift+Enter* or Alt+Enter | Insert a newline (for multi-line input) |
Shift+Tab | Cycle between modes (Normal, Accept Edits, Plan, Bypass, Autonomous) |
Ctrl+C | Cancel current input (clears text), or cancel running agent |
Ctrl+D | Exit (when input is empty) |
Esc | Cancel running agent |
Ctrl+G | Open external editor for composing your message |
Ctrl+R | Open fuzzy search over previous prompts and insert the selected prompt |
Ctrl+O | Open full-screen viewer for the thinking trace |
Ctrl+L | Redraw / refresh the screen |
Ctrl+V or Shift+Insert | Paste from clipboard (images appear in input area; use Left/Right to navigate, Backspace to remove) |
! | Enter bash mode to run a shell command directly (when input is empty). Press Backspace or Esc on an empty input to exit bash mode |
@ | Open file/directory autocomplete to add context |
On macOS,
Alt is the Option key. Some shortcuts below use Alt (Option) as a modifier. We recommend configuring Option as Meta for the best experience.Shift+Enter from Enter. Use Alt+Enter or Ctrl+J instead.
Mode & Model Shortcuts
| Shortcut | Description |
|---|---|
Shift+Tab | Cycle to the next mode (Normal → Accept Edits → Plan → Bypass → Autonomous → Normal) |
Alt+T (macOS: Opt+T) | Cycle thinking level for the current model |
/normal, /plan, /bypass, or /mode <name>. Use /ask <question> as a oneshot command to ask questions without switching modes.

