tyru wrote:


2011/09/23 2:47 "Matt Martini" <matt.mart...@gmail.com <mailto:matt.mart...@gmail.com>>:
>
> I would like to know if there is a way to conditionally load a bundle, or if there is an way to load a bundle manually.

rtputil.vim has the functionality to load a bundle manually.
https://github.vim/thinca/vim-rtputil

>
> I was getting really long load times (on the order of 30 seconds) for vim (7.3.230 OS X), through some effort I tracked this > down to the syntastic bundle. I like this bundle and it is really useful sometimes, but most of the time it is not needed for
> the files I am editing.
>
> Is there a way to create a map to load this module, or have it load conditionally?

AsNeeded provides on-demand loading; put what would normally go in .vim/plugin and it will be loaded when requested. By request means: when one has issued a
command or called a function in the plugin.  Unfortunately, it does not do
on-demand loading based on maps that may be defined in the plugin.

You may get it from:

    http://vim.sourceforge.net/scripts/script.php?script_id=915   (stable)
http://mysite.verizon.net/astronaut/vim/index.html#ASNEEDED (cutting edge)

I don't know how or even if it will work with Weber's "bundles".

Regards,
Chip Campbell

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to