With your help, I'd like to to understand how exporting completion candidates works with consult and embark.
Here's a use-case that comes up a lot in my flow as a programmer: find & replace text matches.
You might say `projectile-replace` works great but it prompts for every replace and is super annoying, especially on very large code-bases.
So how to do it with consult and embark?
I think I have come close with the following flow:
\- `M-x consult-git-grep`
\- `#match-this-text`
Now, if I `M-x embark-collect`, I end up with an embark buffer. If, on the other hand, I `M-x embark-export`, I end up with a grep buffer.
Which of the two buffers do I need (why?), and how do I go about replacing the text I'm after?