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.

MacWindowsWhat it does
Ctrl+CCtrl+CInterrupt a running operation, or clear the input. A second press on empty input exits.
Ctrl+DCtrl+DExit the session (press twice). With text in the prompt it deletes the next character.
Ctrl+GCtrl+GOpen the prompt in your default text editor.
Ctrl+LCtrl+LRedraw the screen, keeping input and history.
Ctrl+OCtrl+OToggle the transcript viewer with detailed tool usage.
Ctrl+RCtrl+RReverse search your command history.
Ctrl+V (Cmd+V in iTerm2)Alt+VPaste an image from the clipboard (Cmd+V in iTerm2, Alt+V on Windows).
Ctrl+BCtrl+BSend running Bash commands and agents to the background.
Ctrl+TCtrl+TShow or hide Claude's task checklist.
Ctrl+SCtrl+SStash the prompt, or restore the stashed prompt.
Ctrl+ZCtrl+ZSuspend Claude Code to your shell (Unix). Run fg to resume.
EscEscInterrupt Claude mid-turn, keeping the work so far, or close a dialog.
Esc EscEsc EscClear the input draft, or on empty input open the rewind menu.
Shift+TabShift+TabCycle permission modes: default, acceptEdits, plan and more.
Option+PAlt+PSwitch model without clearing your prompt.
Option+TAlt+TToggle extended thinking.
Option+OAlt+OToggle fast mode.
Ctrl+X Ctrl+KCtrl+X Ctrl+KStop all running background subagents (press twice to confirm).
Ctrl+YCtrl+YPaste the text you last deleted with Ctrl+K, Ctrl+U or Ctrl+W.
Ctrl+_Ctrl+_Undo the last input edit.
! at start! at startShell mode: run a command directly and add its output to the session.
@@Trigger file path autocomplete.
? on empty input? on empty inputToggle 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.