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

Ability to exclude diff signs from "changes" copied contents #3859

Open
teocns opened this issue Aug 24, 2024 · 1 comment
Open

Ability to exclude diff signs from "changes" copied contents #3859

teocns opened this issue Aug 24, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@teocns
Copy link

teocns commented Aug 24, 2024

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

Copying (<C-o>) from the "changes" panel adds + and - symbols on the first column of each line as diff contents are copied.

Describe the solution you'd like

To optionally enable / disable including diff signs in the copy buffer, or the ability to bind such filtered copy mode to an other key-mapping different than <C-o>

@teocns teocns added the enhancement New feature or request label Aug 24, 2024
@7flash
Copy link

7flash commented Oct 30, 2024

I need this because currently its a basis of my development workflow, specifically when looking at ai-generated commits in my codebase, I begin to review the diff from the end of the file, selecting relevant lines to clipboard (Ctrl+O) then switching back and forth between lazygit and helix editor (Cmd+`) where I jump to the line mentioned in diff (g+number) and replace it (X d Cmd+v)

Then, to get rid of + symbol, I have to do additionally (X s Enter d), and I hope this enhancement can relieve me from this additional step.

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

No branches or pull requests

2 participants