Skip to content
BENIBIX Learn

Ctrl+D Shortcut

AI⌨️ Claude CodeKeyboard Shortcuts

Also known as Ctrl+D, Ctrl+D in Claude Code, exit key

The key that quits Claude Code when you press it twice, fast.

Think of it like

It is like closing a heavy door. You push once, then push again to shut it.

Example

Mia is done for the day. She presses Ctrl+D twice, and Claude Code closes.

Why it matters

The two presses stop you from quitting by mistake.

Definition

Ctrl+D is the Claude Code shortcut that ends the session. The first press shows a hint, and a second press within 800 milliseconds quits. When the prompt has text, Ctrl+D deletes the letter after the cursor instead. Like Ctrl+C, it is fixed and cannot be moved to another key.

Common mistake

Pressing it once and waiting. The second press has to come fast.

Key takeaways

  1. 1
    Two fast presses. Within 800 ms.
  2. 2
    Deletes when there is text. The next letter.
  3. 3
    Cannot be rebound. It is fixed.

Learn it properly