Insert line break: the shortcut in 8 apps
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.
| App | Mac | Windows | Linux |
|---|---|---|---|
| Chrome DevToolsNew line without running · Console | ShiftEnter | ShiftEnter | ShiftEnter |
| Claude CodeNew line in the prompt | ShiftEnter | ShiftEnter | ShiftEnter |
| Claude CodeNew line (works in any terminal) | CtrlJ | CtrlJ | CtrlJ |
| Google SheetsNew line in a cell | OptionEnter | AltEnterorCtrlEnter | AltEnterorCtrlEnter |
| ExcelStart a new line in the same cell | CtrlOptionEnterorOptionCmdEnter | AltEnter | — |
| TeamsNew line in a message | ShiftEnter | ShiftEnter | — |
| WordLine break | ShiftEnter | ShiftEnter | — |
| NotionLine break inside a block | ShiftEnter | ShiftEnter | — |
| SlackNew line in a message | ShiftEnter | ShiftEnter | ShiftEnter |
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.