Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy NeogitStatus diffs without +/- characters at the beginning of a line #1488

Open
nounder opened this issue Sep 25, 2024 · 1 comment
Open

Comments

@nounder
Copy link

nounder commented Sep 25, 2024

Is your feature request related to a problem? Please describe.
I'd like to copy part of diffs shown in NeogitStatus without the first character that consists of - or + using standard yank command.

Describe the solution you'd like
Yanking diff lines does copy only part of a files, without diffs decorations, ie. + and - characters

Describe alternatives you've considered
Removing diff decorations altogether. Not sure if it's possible without changing plugin's source code.

@nounder nounder changed the title Copy NeogitStatus diffs without +/- characters at the beginning of a lin Copy NeogitStatus diffs without +/- characters at the beginning of a line Sep 25, 2024
@CKolkey
Copy link
Member

CKolkey commented Sep 25, 2024

Sadly this one is actually pretty tough. We use the leading + or - to apply the highlights, so removing them isn't really that straightforward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants