Skip to content

↑↓ moveEnter openEsc close

Join lines in Sublime Text

Sublime Text 4 (Build 4200) · 52 shortcuts · checked Nov 2026 · Source: Sublime HQ docs

In Sublime Text, press Cmd+J (Mac), Ctrl+J (Windows, Linux).

What else uses Cmd+J? · What else uses Ctrl+J?

More Sublime Text shortcuts: editing

ActionMacWindowsLinux
Duplicate the lineShiftCmdDCtrlShiftDCtrlShiftD
Delete the lineCtrlShiftKCtrlShiftKCtrlShiftK
Move the line upCtrlCmd↑CtrlShift↑CtrlShift↑
Move the line downCtrlCmd↓CtrlShift↓CtrlShift↓
Insert a line afterCmdEnterCtrlEnterCtrlEnter
Insert a line beforeShiftCmdEnterCtrlShiftEnterCtrlShiftEnter
Comment or uncomment the lineCmd/Ctrl/Ctrl/
Block commentOptionCmd/CtrlShift/CtrlShift/
IndentCmd]Ctrl]Ctrl]
UnindentCmd[Ctrl[Ctrl[

All 15 in editing · All 52 Sublime Text shortcuts