Skip to content

<c-o> copy to clipboard: drop diff's +/- from the text #4511

@Kirow

Description

@Kirow

Is your feature request related to a problem? Please describe.

I wanted to copy removed code from Unstaged Changes section with <c-o> Copy selected text to clipboard, it does copy but with leading - from git diff output. So I had to manually remove these leading signs. Frustrating.

Describe the solution you'd like

Obviously, diff's +/- should be removed from buffer. Or we need additional command to copy w/o this signs.
And it should be taken into the consideration that it could be that leading +/- was in original source file, but not from diff output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions