You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can do it myself, I just have one question, where do we want to accommodate this in Zed? Is it another search option like regex, case sensitive, and whole word, or something else?
I think we'd have to put it as an option in the buffer search. I don't know that we need a UI way to turn it on, but we probably do need some kind of indicator if it is in the "only the first on one line" mode.
Summary
Using :s without g replaces all matches in the line as if g was used.
Steps to trigger the problem:
:s/a/b
Actual Behavior:
All occurrences of
a
on the line are replaced withb
.Expected Behavior:
Only the first occurrence is replaced with
b
.Zed Version and System Specs
The text was updated successfully, but these errors were encountered: