VS Code Keyboard Shortcuts/Move last selection to next match

Skip the current occurrence and continue selection.

Section: Multi-Cursor

Move last selection to next match

text
text
Windows/Linux: Ctrl+K Ctrl+D
macOS: Cmd+K Cmd+D

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Multi-Cursor
Add next occurrence to selection
Select next matching occurrence.
OpenIn sheettextsame section
Select all occurrences
Create cursors for all matches.
OpenIn sheettextsame section
Column / box select
Create rectangular selection.
OpenIn sheettextsame section
Add cursors to line ends
Place a cursor at the end of each selected line.
OpenIn sheettextsame section
New window
Open a new VS Code window.
Quick Open
Search and open files.