Skip to content

↑↓ moveEnter openEsc close

Switch the model in Claude Code

Claude Code 2.x · 34 shortcuts · checked Nov 2026 · Source: Anthropic docs

In Claude Code, press Option+P (Mac), Alt+P (Windows, Linux).

What else uses Option+P? · What else uses Alt+P?

More Claude Code shortcuts: controlling claude

ActionMacWindowsLinux
Stop Claude while it is workingEscEscEsc
Rewind the conversation or codeEsc,EscEsc,EscEsc,Esc
Cycle permission modes (normal, auto-accept, plan)ShiftTabShiftTabShiftTab
Turn extended thinking on or offOptionTAltTAltT
Move a running command to the backgroundCtrlBCtrlBCtrlB
Show or hide the to-do listCtrlTCtrlTCtrlT
Show the full transcriptCtrlOCtrlOCtrlO

All 34 Claude Code shortcuts