Add selection to the next find much doesn't work
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
I have remapped this shortcut because vim uses ctrl+d, but it just finds the first two matches. After that, it doesn't add selection to the other words.
To Reproduce
Steps to reproduce the behavior:
1 - Remap this command "command": "editor.action.addSelectionToNextFindMatch",
2 - Go to a file where it is at least 3 occurrences of the same word. Put your cursor above one of this and hit the previously remapped shortcut three times. You will see that only two of three words have been selected,
Expected behavior
Expect to select the next occurrence every time I hit the shortcut.
Screenshots

As you can see only two of the classNames are selected.
- Extension (VsCodeVim) version: v1.11.3
- VSCode version: 1.41.0 insider
- OS: Windows 10 (WSL2), Mac os seems to work fine.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the remapped command editor.action.addSelectionToNextFindMatch in a file containing at least three occurrences, comparing Windows/WSL2 with macOS. Trace the command's selection handling and verify that repeated shortcuts select each subsequent occurrence, then add regression coverage if the existing test structure exposes this command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100