Hi, Does anyone know how to do "vert diffsplit" between two buffers?! When using diffsplit I have to supply the full path of the second comparison file, what if I simply want the comparison to be done with another already opened buffer?!
Thanx in advance... -----Original Message----- From: Tom Purl [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 13, 2007 1:59 PM To: Eric Leenman Cc: [email protected] Subject: Re: How to diff in gvim > 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
