Skip to content

three-way diff highlighting is confusing #573

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

Open
SadSock opened this issue Apr 30, 2025 · 1 comment
Open

three-way diff highlighting is confusing #573

SadSock opened this issue Apr 30, 2025 · 1 comment

Comments

@SadSock
Copy link

SadSock commented Apr 30, 2025

The current three-way merge diff highlighting (base, ours, theirs) is visually confusing. ​​All differences are highlighted across all panes​​, making it difficult to focus on relevant changes.

Image

Has a method to restrict ​​ours/theirs​​ panes to show diffs ​​only against base​​, not against each other.

@jakubbortlik
Copy link

This would certainly be very nice, but as far as I know, this is not possible with the builtin diff-mode which is tab-based -- all the windows in a tab with diff enabled are part of the diff.

You can work around this by temporarily turning diff mode for one of the buffers with :diffoff (vim-unimpaired maps yod to "toggling" :diffoff and :diffthis).

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