Open timokoesters opened 2 weeks ago
I wonder if this and #19934 could be generalized to a limit_to_selection
setting.
Hey @timokoesters, there is a way to get this to work in Zed currently. You can use the buffer search, highlight the text, engage the Toggle Search Selection
, then, while the cursor is in the search field, use option-enter
to drop the cursors on matches within the selection. Is this sufficient, or should is there something we should improve on to make the workflow a bit better?
https://github.com/user-attachments/assets/5bb3a978-0ddd-4cda-b564-0f8eb3be9638
@JosephTLyons i think that's a question for @timokoesters - my issue is #19934
Check for existing issues
Describe the feature
Helix allow selecting text and pressing "s" to create a multicursor at each instance of a search term: https://docs.helix-editor.com/keymap.html#selection-manipulation. This is pretty useful to do changes in some portion of the file. Limiting it to a selection avoids unintended side effects. For example this can be used to replace " with '.
If applicable, add mockups / screenshots to help present your vision of the feature
No response