Bram Moolenaar wrote:
> It's perhaps a bit strange to use ":diffthis!" to start diff
> mode in other windows.  ":diffall" would be more obvious.
> It's not symmetric with ":diffoff" vs ":diffoff!", but that
> one doesn't say "this".
> 
> What do you all think about using ":diffall" instead?

There is already quite a bit of "history" in Vim, so I would prefer to
NOT introduce a new command. The following looks logical to me:

 " Go to window 1
 :diffthis
 " Go to window 2
 :diffthis

 " Remove diff from all visible windows
 :diffoff!

 " Apply diff to all visible (normal) windows
 :diffthis!

John


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui