Skip to content
BENIBIX Learn

Shift+Enter Shortcut

AI⌨️ Claude CodeKeyboard Shortcuts

Also known as Shift+Enter, Ctrl+J, new line in Claude Code, multiline prompt

The key that adds a new line to the prompt instead of sending it.

Think of it like

It is like the key that starts a new line. It does not send the page.

Example

Leo wants to list three steps, one per line. He presses Shift+Enter after each step and Enter at the end.

Why it matters

Lists and code read better on their own lines.

Definition

Shift+Enter is the Claude Code shortcut that starts a new line in the prompt instead of sending it. It works out of the box in iTerm2, WezTerm, Ghostty, Kitty, Warp and Windows Terminal. A backslash then Enter works in every terminal, and so does Ctrl+J. Plain Enter sends the prompt.
One key sends, and three start a new line.

Common mistake

Pressing Shift+Enter in a terminal that does not pass it on, and sending too soon. Use Ctrl+J there.

Key takeaways

  1. 1
    New line, no send. Shift+Enter.
  2. 2
    Works everywhere. \ then Enter, or Ctrl+J.
  3. 3
    Enter sends. The prompt.

Learn it properly