Skip to content

↑↓ moveEnter openEsc close

Add cursors to line ends: the shortcut in both apps

2 apps · Mac, Windows and Linux

Each app binds this differently. The table shows the keys in Sublime Text and VS Code side by side.

AppMacWindowsLinux
Sublime TextSplit the selection into linesShiftCmdLCtrlShiftLCtrlShiftL
VS CodeInsert cursor at end of each selected lineOptionShiftIAltShiftIAltShiftI

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+Shift+L in Sublime Text; Shift+Option+I in VS Code.
  • Windows: Ctrl+Shift+L in Sublime Text; Shift+Alt+I in VS Code.
  • Linux: Ctrl+Shift+L in Sublime Text; Shift+Alt+I in VS Code.

Learn it by pressing it: Sublime Text shortcuts practice or VS Code shortcuts practice.