* Naim Far [2007.02.13 07:54]: > 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?!
I usually do this in two phases. First setup the vertical split, then use: :windo diffthis To setup the split, here are two easy ways depending on whether you know the buffer number or not: If you do (and say that number is 2): :vert sb 2 If you don't: :vert sb <tab> will give you a list of opened buffer to choose from. You can use completion again after typing a few characters. But it might be even quicker to use ":ls" to find out the buffer number and use the first method above. HTH, -- JR