Skip to content

↑↓ moveEnter openEsc close

New line in the prompt in Claude Code

Claude Code 2.x · 34 shortcuts · checked Nov 2026 · Source: Anthropic docs

In Claude Code, press Shift+Enter on Mac, Windows, Linux.

What else uses Shift+Enter?

More Claude Code shortcuts: input

ActionMacWindowsLinux
Paste an image from the clipboardCtrlVCtrlVCtrlV
Edit the prompt in your text editorCtrlGCtrlGCtrlG
Cancel the input or generationCtrlCCtrlCCtrlC
Exit Claude CodeCtrlDCtrlDCtrlD
Clear the terminal screenCtrlLCtrlLCtrlL

All 34 Claude Code shortcuts