Claude Code keyboard shortcuts
All 23 shortcuts from the official interactive mode docs, checked 2026-10-24. Pick one for details, or print the cheat sheet.
| Mac | Windows | What it does |
|---|---|---|
| Ctrl+C | Ctrl+C | Interrupt a running operation, or clear the input. A second press on empty input exits. |
| Ctrl+D | Ctrl+D | Exit the session (press twice). With text in the prompt it deletes the next character. |
| Ctrl+G | Ctrl+G | Open the prompt in your default text editor. |
| Ctrl+L | Ctrl+L | Redraw the screen, keeping input and history. |
| Ctrl+O | Ctrl+O | Toggle the transcript viewer with detailed tool usage. |
| Ctrl+R | Ctrl+R | Reverse search your command history. |
| Ctrl+V (Cmd+V in iTerm2) | Alt+V | Paste an image from the clipboard (Cmd+V in iTerm2, Alt+V on Windows). |
| Ctrl+B | Ctrl+B | Send running Bash commands and agents to the background. |
| Ctrl+T | Ctrl+T | Show or hide Claude's task checklist. |
| Ctrl+S | Ctrl+S | Stash the prompt, or restore the stashed prompt. |
| Ctrl+Z | Ctrl+Z | Suspend Claude Code to your shell (Unix). Run fg to resume. |
| Esc | Esc | Interrupt Claude mid-turn, keeping the work so far, or close a dialog. |
| Esc Esc | Esc Esc | Clear the input draft, or on empty input open the rewind menu. |
| Shift+Tab | Shift+Tab | Cycle permission modes: default, acceptEdits, plan and more. |
| Option+P | Alt+P | Switch model without clearing your prompt. |
| Option+T | Alt+T | Toggle extended thinking. |
| Option+O | Alt+O | Toggle fast mode. |
| Ctrl+X Ctrl+K | Ctrl+X Ctrl+K | Stop all running background subagents (press twice to confirm). |
| Ctrl+Y | Ctrl+Y | Paste the text you last deleted with Ctrl+K, Ctrl+U or Ctrl+W. |
| Ctrl+_ | Ctrl+_ | Undo the last input edit. |
| ! at start | ! at start | Shell mode: run a command directly and add its output to the session. |
| @ | @ | Trigger file path autocomplete. |
| ? on empty input | ? on empty input | Toggle the shortcut help panel. |
Source: https://code.claude.com/docs/en/interactive-mode
Drill the shortcuts deck in /cards
Flip cards for every shortcut, next to all 112 slash commands.