Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

symlink(copy) script files into one folder? #131

Open
gu-fan opened this issue Jan 27, 2012 · 5 comments
Open

symlink(copy) script files into one folder? #131

gu-fan opened this issue Jan 27, 2012 · 5 comments
Labels

Comments

@gu-fan
Copy link

gu-fan commented Jan 27, 2012

put them into ~/.vim/vundle/plugin ~/.vim/vundle/autoload ...

i.e. : not so many runtimepaths , increase vim speed.

an easy solution is ,
after git pull scripts into 'bundle/', don't set &rtp with each script folder.
just symlink/copy them into the folder and set &rtp to that one.

clear folders with BundleClean

the disadvantage is that if one project have change it's file name.
then the older file may remain there till folder got cleaned.

@gmarik
Copy link
Contributor

gmarik commented Jan 27, 2012

increase vim speed

Do you mean startup speed? as there is faster branch that improves startup time.

Otherwise yeah it's totally possible to 'cache' scripts.
But then, does effort of implementing worth the possible speed gain?
Not sure. We need some benchmarking, i think.

@gu-fan
Copy link
Author

gu-fan commented Jan 30, 2012

No, not the startup speed.
every time some command (help/set syntax/...)are executed, vim will traversal through all &rtp and/or &rtp/after folders.
set verbose = 2 for that infomation.

@gmarik
Copy link
Contributor

gmarik commented Jan 30, 2012

oh, i see what you mean now.

@MarcWeber
Copy link

Lazy loading see #364 - then you don't have to load all plugins at the same time. Is there really such a big speed difference - have you benchmarked it? For VAM I even wrote an experimental (merge all plugin/* files into one) command - but the overhead remembering it when updating plugins was not worth the speed benefit.

@Shougo
Copy link
Contributor

Shougo commented Feb 12, 2014

If it is implemented, Vundle cannot implement lazy loading feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants