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
Is your feature request related to a problem? Please describe.
It would be nice to use telescope as a one stop shop for both finding and replacing content in files.
Describe the solution you'd like
rg has the --replace flag which allows replacing the match, a key binding which would then perform the actual replacement is needed as a final step.
Additional context
The text was updated successfully, but these errors were encountered:
wow, did't know that before.
Adding a short cut to add --replace is quite simple, but how to render the diff preview of origin/replace?
Is there any idea?
Unfortunately ripgrep doesn't support replace. From the man page
-r REPLACEMENT, --replace=REPLACEMENT
Replaces every match with the text given when printing results. Neither this flag nor any other ripgrep flag will modify your files.
Is your feature request related to a problem? Please describe.
It would be nice to use telescope as a one stop shop for both finding and replacing content in files.
Describe the solution you'd like
rg has the
--replace
flag which allows replacing the match, a key binding which would then perform the actual replacement is needed as a final step.Additional context
The text was updated successfully, but these errors were encountered: