On Sep 12, 5:08 pm, sc <[email protected]> wrote:
> On Saturday 12 September 2009, Peng Yu wrote:
>
> > My 'gvim' command takes about 4 seconds to start, and my
> > 'vim' command takes about 2 seconds to start. I am
> > wondering how to speed up 'gvim' and 'vim'?
>
> two things i can suggest:
>
> * load as few plugins as possible
>
> * remove all :source, :pyf and any other commands that cause
> i/o from your .vimrc -- i noticed a big improvement in
> startup time when i took those out of mine and added any
> needed functions directly to .vimrc
>
> if i want to load a specific module that defines a bunch of
> functions i have a <Leader> command to do that so i don't
> have to load them at every start
I have run 'vim -u NONE' and 'gvim -u NONE' (without any files
opened). The runtime does not get improvement. Since they don't load
the .vimrc file and no files are opened. I think that there might be
due to some other reasons.
Regards,
Peng
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---