I would like to compare
File1-v1.txt
withFile1-v2.txt
and
File2-v1.txt
withFile2-v2.txt
at the same time. I tried to create the following layout:
+------------------+------------------+
| | |
| File1-v1.txt <=> File1-v2.txt | // scroll synchronized diff
| | |
+------------------+------------------+
| | |
| File2-v1.txt <=> File2-v2.txt | // *another* scroll synchronized diff
| | |
+------------------+------------------+
What I get is a 4-way diff, where all four buffers were scroll-synchronozed and compared. That's cool, but it's not what I want in my special case.
How can I configure vim to show me two separate "2-way diff sessions" instead of the one 4-way diff?
PS
This would be particular useful when analysing Git history of two (or more) files.
:h diff.txt
– Peter Rincker Nov 22 '16 at 17:48