General Controls
CtrlC Cancel input/generation
CtrlD Exit session
CtrlL Clear prompt input + force full screen redraw
CtrlO Toggle transcript viewer (verbose tool usage); cycles focus view in fullscreenNEW
CtrlU Clear entire input buffer
CtrlY Restore cleared input buffer
CtrlG Open in editor (same as Ctrl+X Ctrl+E)
CtrlR Reverse search history
CtrlX CtrlK Kill all background agents (press twice to confirm)
CtrlB Background running tasks
CtrlT Toggle task list
EscEsc Rewind or summarize
Mode Switching
⇧TabShiftTab Cycle permission modes (default → acceptEdits → plan → …)
Mac Option Keys (configure Option as Meta)
Windows Alt Keys
⌥PAltP Switch model
⌥TAltT Toggle extended thinking
⌥OAltO Toggle fast mode
Input
\Enter Newline
Prefixes
/ Slash command
! Direct bash
@ File mention + autocomplete
Platform Notes
Terminal Terminal.app or iTerm2 — run
/terminal-setup after installInstall
brew install claude-code or npm install -g @anthropic-ai/claude-codeTerminal Windows Terminal (recommended) — PowerShell, cmd, or WSL
Install
winget install Anthropic.ClaudeCode or npm install -g @anthropic-ai/claude-codeWSL Recommended for Linux-style tooling and
/etc/claude-code/ managed policy