Sunday, December 19, 2010

Re: Slow vim loading , how to find it out

On Sat, Dec 18, 2010 at 01:51:57PM EST, Benjamin R. Haskell wrote:

[..]

> Unless you're starting and stopping Vim hundreds of times per day,

See below.

> the amount of time it took to write that email and change the way you
> use CSApprox dwarfs the time savings you'll ever see from removing it
> from startup.
>
> I can see the OP wanting to reduce Vim startup below three seconds --
> that's a perceptible delay. But the difference in startup time
> between .194 seconds and .060 seconds is barely noticeable.

But with.. say, a dozen such plugins or more, this could climb to
something like a couple of seconds.

Now suppose you use Vim to edit your email messages (a common setup if
mutt is your mailer of choice) this may result in something like a total
4-5 seconds lag every time you hit the 'L' key (reply-to-list) and then
it does become noticeable.

OTOH, this pales in comparison with wasting hours (days?) when some
exotic and no-longer maintained plugin that one may have installed years
ago and completely forgotten about, starts playing foul in mysterious
ways when upgrading Vim or the OS.

This is why I suggested using the plugin in 'batch mode', so-to-speak,
and disabling it after after converting the color schemes.

cj

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

No comments: