Esc + Esc
Last updated
What is Esc + Esc?
Double-tapping the Esc key in Claude Code activates the Rewind feature, which serves as a temporal navigation system for both your conversation history and your code state. When triggered, it opens an interactive menu that allows you to jump back to any previous prompt in the session, effectively acting as a "undo" button for AI-driven development. You can choose to restore only the conversation (useful for refining instructions without losing current file edits), restore only the code (to revert specific file changes while keeping the chat context), or restore both to a verified checkpoint. This shortcut is particularly valuable for experimental coding because it automatically creates local checkpoints before every change, allowing you to quickly discard an entire branch of reasoning or a failed implementation without manually restoring individual files or managing Git commits.
Free resources to learn Esc + Esc
More in stage 4: Claude Workflow
Esc + Esc: common questions
Can I learn Esc + Esc in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Esc + Esc in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this Esc + Esc tutorial for beginners?
It is lesson 33 of 109 in the free Claude Code roadmap, in stage 4, Claude Workflow. If you are new to Claude Code, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.