On Thu, 8 Sept 2022 at 17:51, Kennedy, Marcus A. <[email protected]> wrote:
> *From:* [email protected] <[email protected]> *On Behalf Of > *A. S. Budden > *Sent:* Thursday, September 8, 2022 9:44 AM > > > On my work PCs, gvim seems to take an incredibly long time to start up, > sometimes as much as 90 seconds. > > > > Is this a PC that is attached to a network that has IT governing HOMEDRIVE? > It is on a PC, but IT aren't controlling the $VIM directory > > > > In timecost1.txt, we have: > > > > 4579.000 030.000 030.000: sourcing $VIM\_gvimrc > 42416.000 37840.000: starting GUI > > > > Reason being, 5 seconds was to open $VIM\_gvimrc (which, on my computer is > %HOMEDRIVE%\_vimrc). If you have latency when accessing %HOMEDRIVE% > perhaps that is your issue? > $VIM is c:\vim. I have the vim binaries installed in c:\vim; the runtime files are in c:\vim\runtime and my configuration is in c:\vim\vimfiles. c:\vim\_vimrc and c:\vim\_gvimrc each have one line in them: `runtime vimrc` / `runtime gvimrc`, which causes vim to read the vimrc/gvimrc file in c:\vim\vimfiles. The folder c:\vim\vimfiles is under (mercurial) version control, hence wanting the configuration files in there rather than in the folder above. The C: drive is a local SSD, so it seems unlikely that it would be the cause of the delay (although who knows what extra slow-downs the IT department have introduced!) Al -- -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAOaJ26RYUVBK6Rya_tAsSnUgmRPZ%3DSdHifN3MsOF8P4-oni4rA%40mail.gmail.com.
