Skip to content

↑↓ moveEnter openEsc close

New line (works in any terminal) in Claude Code

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

In Claude Code, press Ctrl+J on Mac, Windows, Linux.

What else uses Ctrl+J?

More Claude Code shortcuts: prompt shortcuts

ActionMacWindowsLinux
Show the shortcut listShift/Shift/Shift/
Open slash commands///
Run a shell command directly (bash mode)Shift1Shift1Shift1
Mention a file or folderShift2Shift2Shift2
Accept the suggestion or file pathTabTabTab
New line with Option+EnterOptionEnter——

All 34 Claude Code shortcuts