I have strange problems with vimdiff, everytime I do something like this:
git difftool HEAD~2 -- src/some-file.hs
first of all - it opens two separate windows, one - with the diff and the second - with the file by itself. Why and how do I fix that? I don't need no second window
another problem is - it never makes width of two buffers same, the divider pushed all the way to the right and I have to manually do
C-w
+=
to make them same width, how do I fix that?
difftooll set in .gitconfig
as:
[diff]
tool = gvimdiff
Also I have no idea how to set it right in SourceTree. I want to use vimdiff as external differ/merger