Join lines: the shortcut in 3 apps
Each app binds this differently. The table shows the keys in Sublime Text, Vim and WebStorm side by side.
| App | Mac | Windows | Linux |
|---|---|---|---|
| Sublime TextJoin lines | CmdJ | CtrlJ | CtrlJ |
| VimJoin the line below to this one · Normal mode | ShiftJ | ShiftJ | ShiftJ |
| WebStormJoin lines | CtrlShiftJ | CtrlShiftJ | CtrlShiftJ |
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.