Ctrl+Y in Claude Code
Paste the text you last deleted with Ctrl+K, Ctrl+U or Ctrl+W.
Mac
Ctrl+Y
Windows
Ctrl+Y
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
- Ctrl+_: Undo the last input edit.
- ! at start: Shell mode: run a command directly and add its output to the session.
- @: Trigger file path autocomplete.