Skip to content

↑↓ moveEnter openEsc close

Add selection to next match: the shortcut in 7 apps

7 apps · Mac, Windows and Linux

On Mac it is usually Cmd+D (4 of 6 apps); on Windows it is usually Ctrl+D (4 of 7 apps); on Linux it is usually Ctrl+D (4 of 6 apps). The table shows where each app agrees and where it differs.

AppMacWindowsLinux
CursorAdd the next match to the selectionCmdDCtrlDCtrlD
IntelliJAdd the next occurrenceCtrlGAltJAltJ
Visual StudioAdd the next match to the selection—AltShift.—
Sublime TextAdd the next match to the selectionCmdDCtrlDCtrlD
VS CodeAdd selection to next find matchCmdDCtrlDCtrlD
WebStormAdd the next occurrenceCtrlGAltJAltJ
ZedSelect the next occurrenceCmdDCtrlDCtrlD

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+D in Cursor, Sublime Text, VS Code and Zed; Ctrl+G in IntelliJ and WebStorm.
  • Windows: Ctrl+D in Cursor, Sublime Text, VS Code and Zed; Alt+J in IntelliJ and WebStorm; Alt+Shift+. in Visual Studio.
  • Linux: Ctrl+D in Cursor, Sublime Text, VS Code and Zed; Alt+J in IntelliJ and WebStorm.

Where and when it works

  • VS Code: Press repeatedly to select the next matching word each time.

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