Re: can't diffsplit
- Eric Leenman wrote:
> I'm having the same problem, and the three solutions don'tLet's start from scratch. Say you have two files, old.txt and
> work for me. In all the three solutions (and even the other
> thread I started with your reply windo diffthis) doesn't work.
> What happens is that one window folds the complete file to one
> line. The other window keeps the file open as it was.
new.txt, where they are similar but different. You run:
gvim -d old.txt new.txt
You should see the two files side-by-side. Groups of lines that
are identical are folded. Differences are highlighted. Each
vertical split has a fold column (grey by default) down the
Does the above work? When you follow Tony's advice, do you see
the same fold column in each split? If not, you need to switch
to the split missing the fold column and type ':diffthis'.
> I was expecting somekind of Winmerge behaviour.Winmerge can do some great stuff, but Vim differencing of
two file is better because Vim folds lines that are the same.