Skip to content

↑↓ moveEnter openEsc close

Join lines: the shortcut in 3 apps

3 apps · Mac, Windows and Linux

Each app binds this differently. The table shows the keys in Sublime Text, Vim and WebStorm side by side.

AppMacWindowsLinux
Sublime TextJoin linesCmdJCtrlJCtrlJ
VimJoin the line below to this one · Normal modeShiftJShiftJShiftJ
WebStormJoin linesCtrlShiftJCtrlShiftJCtrlShiftJ

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: Cmd+J in Sublime Text; Shift+J in Vim; Ctrl+Shift+J in WebStorm.
  • Windows: Ctrl+J in Sublime Text; Shift+J in Vim; Ctrl+Shift+J in WebStorm.
  • Linux: Ctrl+J in Sublime Text; Shift+J in Vim; Ctrl+Shift+J in WebStorm.

Where and when it works

  • Vim (Normal mode).

Learn it by pressing it: Sublime Text shortcuts practice, Vim shortcuts practice or WebStorm shortcuts practice.