New line with Option+Enter in Claude Code
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
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause
`1234567890-=deleteInsHomePgUp
TabQWERTYUIOP[]\DelEndPgDn
CapsASDFGHJKL;'return
ShiftZXCVBNM,./Shift↑
fnctrloptcmdcmdopt←↓→
See it happen Press the shortcut above, or
More Claude Code shortcuts: prompt shortcuts
| Action | Mac | Windows | Linux |
|---|---|---|---|
| Show the shortcut list | Shift/ | Shift/ | Shift/ |
| Open slash commands | / | / | / |
| Run a shell command directly (bash mode) | Shift1 | Shift1 | Shift1 |
| Mention a file or folder | Shift2 | Shift2 | Shift2 |
| Accept the suggestion or file path | Tab | Tab | Tab |
| New line (works in any terminal) | CtrlJ | CtrlJ | CtrlJ |