Feature request: strip filename and line number from consult-grep candidate
When acting on candidates of consult-grep or consult-ripgrep, the target contains <filename>:<linenumber>: prefix. It would be useful if the prefix can be optionally stripped. (I usually use embark-copy-as-kill in this case and find myself needing to remove those extra chars)
I don't think this is a good idea. Candidates should be copied as is (except for invisible tofus used by Consult).
Well, embark-copy-as-kill certainly needs to keep that information since it's job is to copy completion candidates (except for tofus, which are a consult implementation detail that embark cooperates with by removing, as @minad says). I would suggest writing a custom action that does remove them. If you do, you could add it to the wiki.