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

Hide diff +/- signs? #855

Open
alok opened this issue Jul 14, 2018 · 1 comment
Open

Hide diff +/- signs? #855

alok opened this issue Jul 14, 2018 · 1 comment

Comments

@alok
Copy link

alok commented Jul 14, 2018

Is there a way to do this in tig? The signs are not helpful when you have colorization and make copying code out of tig awkward since you have to strip them.

andebjor added a commit to andebjor/tig that referenced this issue Mar 3, 2019
The `+` and `-` signs in diff views can be removed by setting the new
option `diff-hide-signs`. When set, only the color of the lines
distinguishes added, removed and context lines.

Empty added or removed lines are indicated by a space in column 0 with
the "diff highlight" colors which has the `reverse` property by default.

Closes jonas#855
andebjor added a commit to andebjor/tig that referenced this issue Mar 5, 2019
The `+` and `-` signs in diff views can be removed by setting the new
option `diff-hide-signs`. When set, only the color of the lines
distinguishes added, removed and context lines.

Empty added or removed lines are indicated by a space in column 0 with
the "diff highlight" colors which has the `reverse` property by default.

Closes jonas#855
andebjor added a commit to andebjor/tig that referenced this issue Mar 8, 2019
The `+` and `-` signs in diff views can be removed by setting the new
option `diff-hide-signs`. When set, only the color of the lines
distinguishes added, removed and context lines.

Empty added or removed lines are indicated by a space in column 0 with
the "diff highlight" colors which has the `reverse` property by default.

Closes jonas#855
andebjor added a commit to andebjor/tig that referenced this issue Mar 8, 2019
The `+` and `-` signs in diff views can be removed by changing the new
option `diff-show-signs`. When set, only the color of the lines
distinguishes added, removed and context lines.

Empty added or removed lines are indicated by a space in column 0 with
the "diff highlight" colors which has the `reverse` property by default.

Closes jonas#855
andebjor added a commit to andebjor/tig that referenced this issue Mar 9, 2019
The `+` and `-` signs in diff views can be removed by changing the new
option `diff-show-signs`. When set, only the color of the lines
distinguishes added, removed and context lines.

Closes jonas#855
andebjor added a commit to andebjor/tig that referenced this issue Mar 9, 2019
The `+` and `-` signs in diff views can be removed by changing the new
option `diff-show-signs`. When set, only the color of the lines
distinguishes added, removed and context lines.

Closes jonas#855
@spidey
Copy link

spidey commented Aug 28, 2019

This also messes with tab size as well. For less and git diff we could use less -x1,5 (as per https://stackoverflow.com/a/10584237/131326), but for tig there is no solution for now.

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