Skip to content
BENIBIX Learn

Esc Esc Shortcut

AI⌨️ Claude CodeKeyboard Shortcuts

Also known as Esc Esc, double Escape, rewind menu shortcut

Press Esc twice to clear the prompt, or to go back to an earlier point.

Think of it like

It is like the rewind button on a tape. You go back to an earlier spot.

Example

Claude's last two edits broke the build. Leo presses Esc twice on an empty prompt and goes back to before them.

Why it matters

It is the fast way back when a turn went wrong.

Definition

Esc Esc is the Claude Code shortcut you get by pressing Esc twice. When the prompt has text, it clears the text and saves it, so Up brings it back. When the prompt is empty, it opens the rewind menu. There you can take the code and the chat back to an earlier point, or sum them up.

Common mistake

Pressing it with text in the prompt and waiting for the menu. Clear the prompt first.

Key takeaways

  1. 1
    Text: clears it. Up brings it back.
  2. 2
    Empty: rewind menu. Code and chat.
  3. 3
    Go back or sum up. To a point.

Compare

Learn it properly