I'm trying to do the following:
- find all buffers containing text "foo"
- visit each of those buffers to perform some edition
Using helm-rg
, I'm forced to do this:
M-x helm-rg
- Enter the text I'm looking for (
foo
) - Move in the
helm-rg
buffer to the first file - Press RET to visit the first file
- Do my edits in this first file, save the buffer
M-x helm-rg
- Enter the text I'm looking for (
foo
) - Move in the
helm-rg
buffer to the second file - Press RET to visit the second file
- Do my edits in this second file, save the buffer
M-x helm-rg
- ... etc, etc...
This gets tedious pretty quickly, and there has to be a better way.
Some research mention using helm-follow-mode
, or helm-resume
, but in my setup it does not change anything (helm-resume
does nothing after visiting a file from helm-rg
.)
What would be the smart thing to do here ?