You can add another cursor at the next matching location by using Alt+Shift+.
in visual studio, and Ctrl+D
in vscode.
In Kakoune, you can use *
to add the current selection to the search register, and then use n
to move the cursor to the next match.
How can I keep the current cursors while adding a new cursor at the next match?