Add shortcut for multiple selections (multiple cursors expansion)

Use case or problem

Obsidian’s multiple cursors functionality is useful but limited when compared to similar functionality available in other apps. It would be greatly improved if multiple selections were also supported.

Others posts have already mentioned that well known text/development editors (like Sublime Text or VSCode) have a command and keyboard shortcut that will select the next occurrence of the currently highlighted text, creating multiple selections with multiple cursors. This offers a big boost in productivity when one needs to quickly (but selectively) replace identical text.

Proposed solution

Add a command and keyboard shortcut to “expand selection to next occurrence”, similar to what Sublime Text and VSCode have. Both of them use CMD+D (on a Mac), which would be ideal to reuse given how users of those editors have the muscle memory of it, but I see this shortcut is already used for “Delete paragraph”.

Note that these editors also support the CMD+K,D shortcut to skip a found occurrence, not actually select it, and go to the next one. Also very handy.

Current workaround (optional)

“Search & replace in current file” is the closest to this, but it’s less practical to use.

Manually searching and OPTION+Click-ing on the text occurrences that one intends to replace, selecting the intended text to be replaced and replacing it works. But it’s manual and tedious. It’s also a tad confusing because only the last cursor created (with the last OPTION+Click) actually renders the selection; the other cursors actually have it selected but that is not shown on screen.