John Beckett schrieb:
> Steven Woody wrote:
>> Supposing I have two files opened in two separated buffers b1
>> and b2, and now I decide to compare b1 and b2 as if I open
>> these file by 'vim -d f1 f2', how can vim help me accomplish
>> this? Thanks.
>
> Usually I have exactly two windows open when I want to do this,
> and the following command starts diff:
> :windo diffthis
>
> After making some changes, you might want:
> :windo diffupdate
Small correction: the latter :windo should be omitted:
:diffu
--
Andy
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---