Skip to content

↑↓ moveEnter openEsc close

Insert line break: the shortcut in 8 apps

8 apps · Mac, Windows and Linux

On Mac it is usually Shift+Enter (6 of 9 apps); on Windows it is usually Shift+Enter (6 of 9 apps); on Linux it is usually Shift+Enter (3 of 5 apps). The table shows where each app agrees and where it differs.

AppMacWindowsLinux
Chrome DevToolsNew line without running · ConsoleShiftEnterShiftEnterShiftEnter
Claude CodeNew line in the promptShiftEnterShiftEnterShiftEnter
Claude CodeNew line (works in any terminal)CtrlJCtrlJCtrlJ
Google SheetsNew line in a cellOptionEnterAltEnterorCtrlEnterAltEnterorCtrlEnter
ExcelStart a new line in the same cellCtrlOptionEnterorOptionCmdEnterAltEnter—
TeamsNew line in a messageShiftEnterShiftEnter—
WordLine breakShiftEnterShiftEnter—
NotionLine break inside a blockShiftEnterShiftEnter—
SlackNew line in a messageShiftEnterShiftEnterShiftEnter

Small screen: your system's keys only. Open an app's row for every system.

A dash means the app has no default binding, or does not run, on that system. Open a row for notes and the full key details.

How the apps compare

  • Mac: Shift+Enter in Chrome DevTools, Claude Code, Teams, Word, Notion and Slack; Ctrl+J in Claude Code; Option+Enter in Google Sheets; Ctrl+Option+Enter in Excel.
  • Windows: Shift+Enter in Chrome DevTools, Claude Code, Teams, Word, Notion and Slack; Alt+Enter in Google Sheets and Excel; Ctrl+J in Claude Code.
  • Linux: Shift+Enter in Chrome DevTools, Claude Code and Slack; Ctrl+J in Claude Code; Alt+Enter in Google Sheets.

Where and when it works

  • Chrome DevTools (Console).
  • Claude Code: Needs a terminal that sends Shift+Enter, or run /terminal-setup. A backslash before Enter works everywhere.

Learn it by pressing it: Chrome DevTools shortcuts practice, Claude Code shortcuts practice, Google Sheets shortcuts practice, Excel shortcuts practice, Teams shortcuts practice, Word shortcuts practice, Notion shortcuts practice or Slack shortcuts practice.