On Thu 30-Nov-06 2:26pm -0600, DervishD wrote:
> I want to be able to NOT load the plugins in my system-wide runtime
> directory, and instead loading my own set of plugins, and only those. So
> far, I know that "set noloadplugins" will do the job, partially. This
> won't load the default plugins in the $VIMRUNTIME/plugins directory, ok,
> but then my own plugins won't be loaded from "~/.vim/plugins".
>
> Apart from sourcing them manually from my .vimrc (which is not
> difficult), is there any other way of avoiding the loading of the
> plugins in the runtime directory but load the ~/.vim/plugins ones? Of
> course, a good way would be not installing the default plugins in the
> first place, but I want them available for the rest of users in my
> system (a fellow programmer, specially).
The simplest is to modify your vimrc. Add something like
this:
se nolpl
let x = &rtp
se rtp-=$VIMRUNTIME
ru! plugin/**/*.vim
let &rtp = x
unl x
--
Best regards,
Bill