Add cursors to line ends: the shortcut in both apps
Each app binds this differently. The table shows the keys in Sublime Text and VS Code side by side.
| App | Mac | Windows | Linux |
|---|---|---|---|
| Sublime TextSplit the selection into lines | ShiftCmdL | CtrlShiftL | CtrlShiftL |
| VS CodeInsert cursor at end of each selected line | OptionShiftI | AltShiftI | AltShiftI |
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.