> Hi,
>
> I'm trying to diff two files in (portable) gvim
> I have two files opened in two vertical windows.
> (Kind of Winmerge screen setup)
>
> When I type :diff  I get the error
> E97: Can not create diffs

I don't think that you're supposed to diff files this way, but I could
be wrong.  If I have a buffer that I want to diff with another, I
usually do the following:

1. "Un-split" all of your windows, leaving only one, and then load file
#1 in that window.
2. Type the following command:
    * :vert diffsplit path_to_file2

This should give you the results that you want.

HTH!

Tom Purl


Reply via email to