When you use vimdiff , it will transfer all transferred files together. To get pairwise different, go through and arrange the pairs on separate tabs:
vim -c "edit old.C" -c "diffsplit new.C" -c "tabedit old.H" -c "diffsplit new.H"
If you do this often, you can write a wrapper for the alias / script.
source share