Skip to content

Question about helm #39

@joeheyming

Description

@joeheyming

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions