Ctrl+_ in Claude Code
Undo the last input edit.
Mac
Ctrl+_
Windows
Ctrl+_
Option-key shortcuts need your terminal to send Option as Meta on macOS. Source: Claude Code interactive mode docs, checked 2026-10-24.
More shortcuts
- ! at start: Shell mode: run a command directly and add its output to the session.
- @: Trigger file path autocomplete.
- ? on empty input: Toggle the shortcut help panel.