Skip to content

↑↓ moveEnter openEsc close

Insert line below: the shortcut in 7 apps

7 apps · Mac, Windows and Linux

On Mac it is usually Ctrl+O (2 of 7 apps); on Windows it is usually O (2 of 6 apps); on Linux it is usually O (2 of 6 apps). The table shows where each app agrees and where it differs.

AppMacWindowsLinux
EclipseInsert a line belowShiftEnterShiftEnterShiftEnter
EmacsOpen a new line after the cursorCtrlOCtrlOCtrlO
macOSInsert a new line after the insertion pointCtrlO——
NeovimOpen a new line below and insert · Normal modeOOO
Sublime TextInsert a line afterCmdEnterCtrlEnterCtrlEnter
VimOpen a new line below and insert · Normal modeOOO
VS CodeInsert line belowCmdEnterCtrlEnterCtrlEnter

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: Ctrl+O in Emacs and macOS; O in Neovim and Vim; Cmd+Enter in Sublime Text and VS Code; Shift+Enter in Eclipse.
  • Windows: O in Neovim and Vim; Ctrl+Enter in Sublime Text and VS Code; Shift+Enter in Eclipse; Ctrl+O in Emacs.
  • Linux: O in Neovim and Vim; Ctrl+Enter in Sublime Text and VS Code; Shift+Enter in Eclipse; Ctrl+O in Emacs.

Where and when it works

Learn it by pressing it: Eclipse shortcuts practice, Emacs shortcuts practice, macOS shortcuts practice, Neovim shortcuts practice, Sublime Text shortcuts practice, Vim shortcuts practice or VS Code shortcuts practice.