Lesson

The Essential Claude Code Shortcuts

Master the shortcuts that keep Claude Code responsive—resume sessions, rewind conversations, undo safely, and edit faster than your terminal.

Access
Included
Transcript
Needs source

Claude Code interactive mode has a few key shortcuts to help you stay productive. Restarting a session, editing like Bash, and rewinding conversations all help you feel more comfortable with each session.

Core shortcuts

  • Resume instantly

    claude --continue
    

    Reloads the previous session and context after a crash, restart, or closed editor.

  • Rewind conversation
    Double‑tap Escape in an empty input to browse history and restore to an earlier point.

    Rewinding resets the chat, not your files—pair it with version control or explicit undo prompts for code changes.

  • Explicit undo/redo
    Ask Claude to revert the last change, then use your shell history to re-run or tweak the prior prompt.

    Please undo the previous change to <file>.
    
  • Edit like Bash
    Ctrl+A / Ctrl+E start/end of line • Option+F / Option+B word forward/back • Ctrl+W delete previous word • Double‑tap Escape clear input • Ctrl+C twice hard exit

Try it

Prompts:

Please translate this entire file to German.
Undo the change and propose a simpler version.