26110Re: script bloat
- Nov 2, 2001Zdenek Sekera <zs@...> writes:
>I don't understand why this function is needed after Ron Aaron'sOk, Zdenek -- here's my more simple version, which works just as well:
>very nice invention of FuncUndefined event in autocmd. That does
>it already all. I have a directory with plenty of functions that
>are loaded 'on demand' due to the FuncUndefined event.
>Very nice and trivial.
au FuncUndefined * :silent! exe 'source '.$VIMGLOBAL.'/auto/'.expand("<afile>").'.vim'
Put the files named after the functions, in $VIMGLOBAL/auto as before...
- << Previous post in topic Next post in topic >>