Friday, December 17, 2010

Re: Slow vim loading , how to find it out

On Fri, Dec 17, 2010 at 07:31:37PM +0800, Aaron Lewis wrote:
> Hi,
> Guess i've enabled too many plugins , vim on my Gentoo loads really slow
> ( approximately 3 seconds ) ,
> is there anyways to debug , and find out the worst time consumers ?
>
> Thanks.

If your Vim is fairly recent, try this:

vim --startuptime thetimes.txt

The --startuptime argument was added sometime in the 7.2 days.
7.3.0 and above has it for sure.

--
Erik Falor
Registered Linux User #445632 http://counter.li.org

No comments: