helm-git-grep icon indicating copy to clipboard operation
helm-git-grep copied to clipboard

Question about helm

Open joeheyming opened this issue 5 years ago • 0 comments

Let's say I'm running git grep to find an import.

"import Foo"

And it matches path/to/file:123 import "a/b/c/Foo";

In helm, if I do C-c C-k, it saves the selection to my kill ring. If I paste the selection with yank, it pastes: path/to/file:123 import "a/b/c/Foo";

But what I want to paste is: import "a/b/c/Foo";

Is there a way to have a workflow in helm git grep to copy only the match? Even better, we could copy the match, then insert it at the cursor.

joeheyming avatar Sep 23 '18 22:09 joeheyming