This could be a problem if you compiled vim with the X11 libraries and your display is not set properly. Try to start vim with a -X (that's a capital X) and see if there is a difference.
--Sent from my iPhone On Sep 13, 2009, at 8:46 PM, pansz <[email protected]> wrote: > > sc 写道: >> 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 > > > I had tested on my Pentium III 667MHz with 320M memory: > > 1. vim started within 1 second. (tested in ubuntu 8.04+Vim 7.2.93) > 2. there's no big difference between vim Tiny and vim Huge. > 3. put all my 10 plugins doesn't not change either. > > > I think most modern computers have a better CPU than my Pentium III > and > have more Memory than 320M, so that I think using vim Huge or load > lots > of vim plugins makes no noticeable differences in most modern > computers. > > If vim takes 2 or 4 seconds to start there really is some problem... > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
