Select line: the shortcut in both apps
On Mac it is usually Cmd+L (2 of 2 apps); on Windows it is usually Ctrl+L (2 of 2 apps); on Linux it is usually Ctrl+L (2 of 2 apps). The table shows where each app agrees and where it differs.
| App | Mac | Windows | Linux |
|---|---|---|---|
| Sublime TextSelect the line | CmdL | CtrlL | CtrlL |
| VS CodeSelect current line | CmdL | CtrlL | CtrlL |
How the apps compare
- Mac: every app here uses CmdL.
- Windows: every app here uses CtrlL.
- Linux: every app here uses CtrlL.
Learn it by pressing it: Sublime Text shortcuts practice or VS Code shortcuts practice.