Tony Mechelynck 写道:
>> Consider: if all you want is to split an already too long script into
>> two, how much "s:" do you need to change? isn't there some similiar
>> feature like "include foobar.vim"? i.e. source some script completely
>> inside my own script-local namespace?
> 
> No, there isn't. ":source foobar.vim" is considered adequate for most 
> purposes, and when it isn't, ":call foobar#somefunc()" comes to the rescue.
> 
> Changing the "s:"-es is not a problem with
> 
>       :%s/s:\|<SID>/foobar#/gc

;-(

So it seems that I'd better keep a long script as is.

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

Reply via email to