Claude Code keyboard shortcuts worth learning

Claude Code has a long list of shortcuts. You will not need most of them. These are the ones that save the most time, grouped by what you are doing. Press ? on an empty prompt to see the list for your setup.

Stop, undo, leave

Modes and model

Write longer prompts

Start a prompt with a symbol

Look back and keep track

Edit text fast

Good to know

Try it on something harmless

  1. Type a long sentence, press Esc twice, then Up to get it back.
  2. Press ? on an empty prompt and read the panel.
  3. Press Ctrl+O once to see the transcript viewer, then Esc to leave it.

This follows Anthropic's interactive mode documentation as we read it in October 2026. We are not affiliated with Anthropic. We wrote this from the documentation and have not tested every shortcut on every terminal.

See also: Customize keyboard shortcuts · Set up your terminal · Slash commands worth knowing · Claude Code voice dictation.

The free loop-stop skill gives long tasks a limit and a stop rule. If you want a second pair of eyes on your CLAUDE.md and settings, the Tune-Up Kit is a checklist for exactly that.