⌃Control C Ctrl C Ctrl C
Interrupt what’s runningWith nothing running, the first press clears the prompt and a second one exits Claude Code.With nothing running, the first press clears the prompt and a second one exits Claude Code.With nothing running, the first press clears the prompt and a second one exits Claude Code.
EscEscape EscEscape EscEscape
Stop Claude mid-response, or close a dialogClaude keeps the work done so far. On a permission prompt it declines the action.Claude keeps the work done so far. On a permission prompt it declines the action.Claude keeps the work done so far. On a permission prompt it declines the action.
⌃Control D Ctrl D Ctrl D
Exit Claude CodePress twice within 800 ms. With text in the prompt it deletes the character after the cursor instead.Press twice within 800 ms. With text in the prompt it deletes the character after the cursor instead.Press twice within 800 ms. With text in the prompt it deletes the character after the cursor instead.
EscEscape thenEscEscape EscEscape thenEscEscape EscEscape thenEscEscape
Rewind to an earlier point, or clear the draftWith text in the prompt it clears it and keeps the draft in history; with an empty prompt it opens the rewind menu.With text in the prompt it clears it and keeps the draft in history; with an empty prompt it opens the rewind menu.With text in the prompt it clears it and keeps the draft in history; with an empty prompt it opens the rewind menu.
⌃Control R Ctrl R Ctrl R
Search your prompt historyPress it again to move to the next match.Press it again to move to the next match.Press it again to move to the next match.
⌃Control O Ctrl O Ctrl O
Show or hide the full transcriptShows every tool call, with a timestamp and the model used per message.Shows every tool call, with a timestamp and the model used per message.Shows every tool call, with a timestamp and the model used per message.
⇧Shift Tab Shift Tab Shift Tab
Switch to the next permission modeManual → accept edits → plan → (bypass) → auto, and back to manual.Manual → accept edits → plan → (bypass) → auto, and back to manual.alsoAlt M When the Node or Bun runtime doesn’t enable VT input mode.Manual → accept edits → plan → (bypass) → auto, and back to manual.
⌥Option P Alt P Alt P
Switch modelOn mac, needs Option as Meta in the terminal. Keeps whatever you had typed.On mac, needs Option as Meta in the terminal. Keeps whatever you had typed.On mac, needs Option as Meta in the terminal. Keeps whatever you had typed.
⌥Option T Alt T Alt T
Turn extended thinking on or offWorks on mac without Option as Meta. Models that always think ignore it.Works on mac without Option as Meta. Models that always think ignore it.Works on mac without Option as Meta. Models that always think ignore it.
⌥Option O Alt O Alt O
Turn fast mode on or off
⌃Control V Alt V Ctrl V
Paste an image from the clipboardNot ⌘V. Inserts an [Image #N] chip you can refer to in the prompt.also⌘Command V iTerm2 only.On WSL, Ctrl+V works too, unless your terminal intercepts it. Inserts an [Image #N] chip you can refer to in the prompt.Inserts an [Image #N] chip you can refer to in the prompt.
⌃Control G Ctrl G Ctrl G
Edit the prompt in your text editoralso⌃Control X then⌃Control E The readline-style binding.alsoCtrl X thenCtrl E The readline-style binding.alsoCtrl X thenCtrl E The readline-style binding.
⌃Control B Ctrl B Ctrl B
Send the running task to the backgroundUnder tmux, press it twice.also⌃Control X then⌃Control B Doesn’t clash with the tmux prefix.Under tmux, press it twice.alsoCtrl X thenCtrl B Doesn’t clash with the tmux prefix.Under tmux, press it twice.alsoCtrl X thenCtrl B Doesn’t clash with the tmux prefix.
⌃Control X then⌃Control K Ctrl X thenCtrl K Ctrl X thenCtrl K
Stop every background subagentTwice within 3 seconds to confirm. Also turns off artifact auto-replies for the session.Twice within 3 seconds to confirm. Also turns off artifact auto-replies for the session.Twice within 3 seconds to confirm. Also turns off artifact auto-replies for the session.
⌃Control S Ctrl S Ctrl S
Stash the prompt to finish it laterPress it again on an empty prompt to bring the text back, cursor and images included.Press it again on an empty prompt to bring the text back, cursor and images included.Press it again on an empty prompt to bring the text back, cursor and images included.
⌃Control T Ctrl T Ctrl T
Show or hide Claude’s task listThis is Claude’s checklist, not the background-task view (/tasks).This is Claude’s checklist, not the background-task view (/tasks).This is Claude’s checklist, not the background-task view (/tasks).
⌃Control L Ctrl L Ctrl L
Refresh the screen, or clear itKeeps your input and the conversation. Fixes a garbled display.Keeps your input and the conversation. Fixes a garbled display.Keeps your input and the conversation. Fixes a garbled display.
⌃Control Z Ctrl Z
Suspend Claude Code to the shellRun fg to come back.Run fg to come back.
↑Up arrow ↑Up arrow ↑Up arrow
Previous prompt from historyOn a multi-row prompt it moves the cursor first; from the first row it walks the history. With messages queued, it takes them back instead.also⌃Control P On a multi-row prompt it moves the cursor first; from the first row it walks the history. With messages queued, it takes them back instead.alsoCtrl P On a multi-row prompt it moves the cursor first; from the first row it walks the history. With messages queued, it takes them back instead.alsoCtrl P
↓Down arrow ↓Down arrow ↓Down arrow
Next prompt from historyalso⌃Control N alsoCtrl N alsoCtrl N
Tab Tab Tab
Accept the autocomplete suggestionOn a permission prompt, with Yes or No focused, it opens a comment field instead.On a permission prompt, with Yes or No focused, it opens a comment field instead.On a permission prompt, with Yes or No focused, it opens a comment field instead.
←Left arrow ←Left arrow ←Left arrow
with a dialog openMove between the tabs of a dialogalso→Right arrow also→Right arrow also→Right arrow
Space Space Space
Dictate a prompt by voiceOnly with voice dictation enabled. Hold to record, or tap after /voice tap.Only with voice dictation enabled. Hold to record, or tap after /voice tap.Only with voice dictation enabled. Hold to record, or tap after /voice tap.
⌃Control T Ctrl T Ctrl T
in the /theme pickerTurn syntax highlighting on or off