Skip to content

↑↓ moveEnter openEsc close

New line with Option+Enter in Claude Code

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

In Claude Code, press Option+Enter. Works when: | The macOS default in Terminal.app and iTerm2 once Option is set to act as Meta..

MacOptionEnter

What else uses Option+Enter?

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 (works in any terminal)CtrlJCtrlJCtrlJ

All 34 Claude Code shortcuts