On May 31, 2007, at 3:02 PM, A.J.Mechelynck wrote:
Lev Lvovsky wrote:
I have two files which I'd like to compare via diffsplit in an
existing vim session - trying to do so by issuing ':diffsplit
<filename>' when the other one is already in the window gets me
the error:
E97: Cannot create diffs
I can properly open the diff in a separate instance via 'vimdiff',
as well as ':diffsplit' - is there something wrong with my
existing session?
thanks!
-lev
II. To diff two files already being edited:
1. make one file current
2. :diffthis
3. make the other file current
4. :diffthis
5. (Optional) Rearrange the windows (using ^W commands) to place
them side-by-side.
Great. this solved the error that I was getting...
thanks!
-lev