gmarik/vundle — pull request #98 by rainux (2011-10-21 19:19:02+00:00)
Title: Speed up Vim startup

Hi gmarik,

Here are some patches mainly focused on speed up Vim startup:

1. Fix performance issue introduced by 55a5ef04.

Although there are other ways to resolve this, I finally chose to introduce a new command `BundleBind!`. The benefit is not only easy to implement and has the best performance, but also make it easy to implement below features. However, the command name "BundleBind!" may not be a good choice and can be changed. I haven't chose "BundleLoad!" because it doesn't really load plugins when it get executed.

2. Use a `bind` option to control whether bind a scripts bundle (thus it will be loaded by Vim in the later stage of startup) at Vim startup.

This can be use on slower and rarely used scripts.

3. Manually bind and load those scripts not bound at Vim startup with `BundleBind!`.

It accept tags as arguments which can be set by `Bundle` command.

Please review and consider pull them :)