Sunday, June 20, 2010

Re: compare two directories

On 06/20/2010 05:38 PM, Peng Yu wrote:
> I try "gvimdiff dir1 and dir2". It seem that only one
> directory shows up. Is there a way to compare two directories
> in vim?


I'm not sure why it doesn't seem to work when you provide the
paths at startup. I'd suspect a bug or an unexpected interaction
between the directory-browser and vimdiff.

But as a workaround, if you do

bash$ vim dir1
:vert diffsplit dir2

it seems to diff them (at least as far as file-names go).

-tim

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: