Skip to content

Terminal Shortcuts for Faster Prompting

Small terminal shortcuts make long Claude Code sessions less tedious.

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.

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.