1. [Home](<https://delaparra-services.nl/>) 
1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) 
1. [Select Next Occurrence](<https://delaparra-services.nl/knowledge-hub/select-next-occurrence>)

  

Category: Keyboard shortcuts 

# Select Next Occurrence

  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    

## What is Select Next Occurrence?

 

Select Next Occurrence: Add the next match of the current word to your selection so you can edit several at once. Select Next Occurrence adds the next match of the current word or selection to your selection, with a cursor at each. In VS Code and many other editors press ` Ctrl+D ` or ` Cmd+D `; in JetBrains IDEs press ` Alt+J ` or ` Ctrl+G `.

 

Definition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)

 

## Frequently asked questions about Select Next Occurrence

  

### How is Select Next Occurrence used in practice?

 

Press it a few times, then type, and every selected occurrence changes at once. It is ideal for renaming a variable within one function, or editing the same attribute in several lines of HTML.

    

### What should you keep in mind with Select Next Occurrence?

 

You can skip an occurrence you do not want with ` Ctrl+K Ctrl+D ` in VS Code, or select all occurrences at once with ` Ctrl+Shift+L `. Because it matches text rather than code meaning, it can catch unrelated matches, so watch what gets selected. For renaming across files, Rename Symbol is the safer tool.

 

## At a glance

   CategoryKeyboard shortcuts Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026

 

## More Keyboard shortcuts terms

 

- [Reverse History Search](<https://delaparra-services.nl/knowledge-hub/reverse-history-search>) 
- [Save All](<https://delaparra-services.nl/knowledge-hub/save-all>) 
- [Search Across Files](<https://delaparra-services.nl/knowledge-hub/search-across-files>) 
- [Start / Continue Debugging](<https://delaparra-services.nl/knowledge-hub/start-continue-debugging>) 
- [Step Into](<https://delaparra-services.nl/knowledge-hub/step-into>) 
- [Step Out](<https://delaparra-services.nl/knowledge-hub/step-out>)

 

[All terms starting with S](<https://delaparra-services.nl/knowledge-hub#letter-s>)

 

## Skills

 

- ### Editor shortcuts (VS Code / Cursor and Vim)

 

Use when a user asks how to do something faster in VS Code (or Cursor) or Vim, asks what a keyboard shortcut does (e.g. Ctrl+D, Ctrl+Shift+P, F12, gg, dd, yy, ciw, :wq), wants to customise keybindings, or is stuck in Vim. Gives the correct shortcut for their operating system and can write keybindings.json entries.

 [View skill](<https://delaparra-services.nl/skills/editor-shortcuts>) [Download zip](<https://delaparra-services.nl/skills/editor-shortcuts/download>)

 

## Manuals

 

- [Keyboard shortcuts in VS Code and the terminal](<https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code>) 
- [Installing Visual Studio Code](<https://delaparra-services.nl/manuals/visual-studio-code-installeren>)

 

## Need any help?

 

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.

  [Get in touch](<https://delaparra-services.nl/availability>)

[HTML version](https://delaparra-services.nl/knowledge-hub/select-next-occurrence)
