Terminal Shortcuts for Faster Prompting
Small terminal shortcuts make long Claude Code sessions less tedious.
Useful shortcuts
Section titled “Useful shortcuts”| Shortcut | Action |
|---|---|
Option+Arrow |
Move by word. |
Ctrl+A |
Jump to the start of the line. |
Ctrl+E |
Jump to the end of the line. |
Option+Backspace |
Delete one word. |
Cmd+K |
Clear the visible terminal. |
Why it matters
Section titled “Why it matters”Prompting is editing. Faster line editing makes it easier to revise instructions before sending them.
Cmd+K only clears the visible terminal display. It does not clear Claude Code’s conversation context. Use /clear for that.