Skip to content

↑↓ moveEnter openEsc close

Rewind the conversation or code in Claude Code

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

In Claude Code, press Esc Esc on Mac, Windows, Linux. Works when: prompt is empty.

A chord: press each combination in turn.

More Claude Code shortcuts: controlling claude

ActionMacWindowsLinux
Stop Claude while it is workingEscEscEsc
Cycle permission modes (normal, auto-accept, plan)ShiftTabShiftTabShiftTab
Switch the modelOptionPAltPAltP
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