Skip to content

Keyboard

Shortcuts

Everyone learns Esc. These are the rest — all checked against Claude Code itself, not copied off a blog.

The three to learn first

If you remember nothing else.

  • Esc Esc
    Stop Claude mid-action The moment Claude starts doing something you did not intend.
  • Esc thenEsc Esc thenEsc
    Clear the input box Your half-written prompt has turned into a mess and you want a clean line.
  • Shift +Tab Shift +Tab
    Cycle permission mode Starting an exploration (plan) or letting an agreed plan run (accept edits). On older Windows setups without VT mode, this is Meta+M instead.

Writing the prompt

Composing, searching, pasting.

  • Ctrl +J Ctrl +J
    Start a new line without sending Any prompt longer than one sentence.
  • Ctrl +R Ctrl +R
    Search your prompt history "What did I type last week that worked?" Inside the search, Ctrl+S cycles the scope: this session → this project → everywhere.
  • Ctrl +S Ctrl +S
    Park the half-written prompt You are three sentences into a prompt and need to go check something.
  • Ctrl +G Ctrl +G
    Edit the prompt in your real editor Writing anything long or carefully structured.
  • Ctrl +V Alt +V
    Paste an image Anything visual. Annotate the screenshot first and it works even better. Ctrl+V, not Cmd+V — macOS keeps Cmd+V for its own paste. Windows and WSL use Alt+V. On WSL both Ctrl+V and Alt+V work.
  • Option +T Alt +T
    Toggle thinking for the next turn One hard question in the middle of otherwise simple work.
  • Ctrl +_ Ctrl +_
    Undo in the input box You deleted half a prompt by accident.

Seeing what happened

What Claude did and what it plans to do.

  • Ctrl +O Ctrl +O
    Toggle the full transcript You want to know what it actually did, not the summary.
  • Ctrl +T Ctrl +T
    Toggle the task checklist Any multi-step task, before it gets far.

Running the session

Long jobs, models, the terminal.

  • Ctrl +B Ctrl +B
    Send the running job to the background A long build, test run, or search you do not want to sit and watch.
  • Option +P Alt +P
    Switch model Between tasks — rarely a good idea mid-task.
  • Option +O Alt +O
    Toggle fast mode Straightforward work where you would rather have speed than depth.
  • Ctrl +Z Ctrl +Z
    Step out to the shell without quitting You need the terminal for one command and do not want to lose the session. Terminal-level shortcut (Unix SIGTSTP), not a Claude Code binding. Windows has no direct equivalent.

The keys are the same on both systems — only the modifier's name changes (macOS calls Alt Option). Run /keybindings in any session to see exactly what is bound on your machine.

End a session with a handoff, not a summary

← Tips Workflow & commands

End a session with a handoff, not a summary

A summary is written for a human and is nearly useless to the next . A handoff is written for Claude — it points at files, names what was already tried and failed, and says where to start. Ask for a handoff instead and the next morning starts warm.

both

Ending a long , most people ask for a summary. It reads well and helps almost nothing tomorrow.

The problem: a summary describes what happened. The next session needs to know what to do — which files matter, what’s already been ruled out, and where to pick up. Those are different documents.

Ask for the second one.

Write a handoff for the next session. Point at the specific files that matter, say what we already tried that didn’t work and why, and state exactly where to begin. Write it for Claude to act on, not for me to read.

Four things a good handoff has that a summary doesn’t:

  • Pointers, not copies. File paths, not pasted contents. The next session can read the file; it can’t un-read a stale copy of it.
  • The failed attempts. “We tried X, it broke because Y” saves the next session from repeating it. Summaries almost always omit this — failures don’t feel like progress worth reporting.
  • A starting instruction. Not “the auth work is in progress” but “start by running the failing test in auth/login.test.ts and read the error”.
  • Open questions, named as questions. So the next session asks you instead of guessing.

Use it mid-session too

Handoffs aren’t only for the end of the day. When something out-of-scope comes up mid-task — a bug you noticed, a side question that needs real work — you have three bad options and one good one.

Bad: do it now and dilute the session. Bad: wipe context to make room. Bad: try to hold both tasks at once.

Good: hand the side task off to a fresh session, and keep this one on its original job.

Write a handoff for a separate session that just does [the side task]. Include only the context that task needs.

Don’t escalate — hand off

When you’re stuck, the instinct is to reach for a bigger . It rarely helps, because the conversation carries the same wrong assumptions forward into the bigger model.

Write the handoff, start fresh. A clean session with a good brief beats a bigger model with a polluted one.

Next tip →

Seven keys that make Claude Code feel like a tool, not a chat box

Beyond Esc there are about seven shortcuts that change how the feels — search your own history, park a half-written , open the editor, see what Claude actually did, and background a long task. All verified against 2.1.