-
hey, the question is the title.
then when I want to replace it I need to go to each file and replace manually. is there any hack to do this ? or I need to use external shell tools like Edit
thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 12 replies
-
I think you can probably get the global search picker using Repeat the macro a number of times equal to the number of search results, and then |
Beta Was this translation helpful? Give feedback.
-
We probably want better support for this kind of use case. Currently, you best bet is either @Omnikar’s solution or to use an external tool such as |
Beta Was this translation helpful? Give feedback.
-
Is there already a plan to implement it? I couldn't find an issue related to that, but I might have missed it. |
Beta Was this translation helpful? Give feedback.
-
I've added this to my ~/.zshrc
Now I can write ":sh gr ./src A B" and it will execute global search within src folder to replace all A with B |
Beta Was this translation helpful? Give feedback.
-
There is #4381 but it's been inactive for a while now. |
Beta Was this translation helpful? Give feedback.
Maybe you could use tool like serpl to make the changes interactively?