Thursday, June 6, 2013

Re: Vim taking an awfully long time to startup each time

On Thursday, June 6, 2013 11:20:09 AM UTC-4, Paul Isambert wrote:
> Hello Jean-Marc,
>
>
>
> Jean-Marcel Belmont <marcelbelmont@gmail.com> a écrit:
>
> > Hello,
>
> >
>
> > I am running Vim 7.3 with no patches on Mac OS X 10.7 on the terminal app. I have added the output of startuptime option with a simple html file. In some cases vim takes more than 30 seconds to load up, while others between 15 and 20 seconds,
>
> > can anyone please explain what I must do to speed up this awfully slow startup time. Is it the fact that I have too many plugins or what?
>
>
>
> The eclim plugin looks extraordinarily heavy:
>
>
>
> ...
>
> > 1771.665 000.283 000.283: sourcing /Users/jean-marcelbelmont/.vim/eclim/plugin/android.vim
>
> > 1772.392 000.280 000.280: sourcing /Users/jean-marcelbelmont/.vim/eclim/plugin/cproject.vim
>
> > 1780.520 000.399 000.399: sourcing /Users/jean-marcelbelmont/.vim/eclim/plugin/django.vim
>
> > 27580.098 000.650 000.650: sourcing /Users/jean-marcelbelmont/.vim/eclim/autoload/eclim/cygwin.vim
>
> > 27612.563 006.846 006.846: sourcing /Users/jean-marcelbelmont/.vim/eclim/autoload/eclim/util.vim
>
> > 27638.315 033.193 026.347: sourcing /Users/jean-marcelbelmont/.vim/eclim/autoload/eclim/util.vim
>
> > 27654.103 001.300 001.300: sourcing /Users/jean-marcelbelmont/.vim/eclim/autoload/eclim/common/buffers.vim
>
> > 27682.263 25890.415 25855.272: sourcing /Users/jean-marcelbelmont/.vim/eclim/plugin/eclim.vim
>
> ...
>
>
>
> If I understand correctly, it is meant to communicate with Eclipse,
>
> which might not be the fastest thing in the world...
>
>
>
> Just try starting Vim without eclim and see if that helps.
>
>
>
> Best,
>
> Paul

Yep that plugin was the cause of the slow startup, now vim starts in a few seconds. Thank you.

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: