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 --continueReloads 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+Estart/end of line •Option+F/Option+Bword forward/back •Ctrl+Wdelete previous word • Double‑tap Escape clear input •Ctrl+Ctwice hard exit
Try it
Prompts:
Please translate this entire file to German.
Undo the change and propose a simpler version.