ap wrote:
>> If you don't want it to be set as the global option which is the default for 
>> newly
>> opened buffers, you should use setlocal, not set. See
>>
>> :help local-options
>>
>> Ben.
>>
> 
> 'setlocal' of course. I did not know that localonly options
> have a global value. And I haven't thought of it, because
> I implicitly treated 'diff' special, since it can only be set
> in 4 windows.
> 
> Thanks.
> 
> -ap

No worries, AP! As the docs say, it can be rather complicated. But the fact 
that 
you didn't know about it proves that on the whole it does result in the 
behaviour 
you expect! Another triumph for Vim.

Chuckles,

Ben.




Send instant messages to your online friends http://au.messenger.yahoo.com 


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

Raspunde prin e-mail lui