Skip to content

↑↓ moveEnter openEsc close

Select all occurrences: the shortcut in 4 apps

4 apps · Mac, Windows and Linux

On Windows it is usually Ctrl+Shift+L (2 of 4 apps); on Linux it is usually Ctrl+Shift+L (2 of 3 apps). The table shows where each app agrees and where it differs.

AppMacWindowsLinux
IntelliJSelect all occurrencesCtrlCmdGCtrlAltShiftJCtrlAltShiftJ
Visual StudioSelect every match—AltShift;—
VS CodeSelect all occurrences of current selectionShiftCmdLCtrlShiftLCtrlShiftL
ZedSelect every occurrenceShiftCmdLCtrlShiftLCtrlShiftL

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: Ctrl+Cmd+G in IntelliJ; Cmd+Shift+L in VS Code; Shift+Cmd+L in Zed.
  • Windows: Ctrl+Shift+L in VS Code and Zed; Ctrl+Alt+Shift+J in IntelliJ; Alt+Shift+; in Visual Studio.
  • Linux: Ctrl+Shift+L in VS Code and Zed; Ctrl+Alt+Shift+J in IntelliJ.

Learn it by pressing it: IntelliJ shortcuts practice, Visual Studio shortcuts practice, VS Code shortcuts practice or Zed shortcuts practice.