Monday, December 5, 2011

Re: GVim Win32 on Win7 suddenly very slow to load



> Does your Windows shortcut run a cygwin gvim?
> I'm not sure where cygwin fits into this picture, otherwise.

> You do know there is a native Vim installer for Windows, right?

> I'm wondering if the extra startup time for the shortcut might have to
> do with starting the cygwin environment or something.

> Really you've given almost zero detail as to what your setup is.

> What options do you pass Vim? What version of Vim are you running? Are
> you launching the same Vim executable from your shortcut as from
> cygwin? If not, is it the same version? Do they use the same startup
> files?

Very fair questions!  My appologies.  It was a long day and I was a bit frustrated.  Thanks for responding anyway ... hopefully we can sort this out. :D


My setup is:

System:

Win7 64-bit, running as dual-boot on an apple iMac.  The problem is only occurring on the Windows side of things, and as stated, only started to occur on Friday, after updating some Windows software.  (Apologies for calling it Win32 originally - long-standing habit I should really break).
I do have the Mac version 7.3 of GVim installed on the Mac side and all is well there - no slow downs.


Installed Vim:

Win32 version 7.3.46 of GVim installed via native installer for Win32, installed into C:\Program Files (x86)\Vim\...
The Windows shortcut is a direct shortcut to the native-installed GVim for Win32 - C:\Program Files (x86)\Vim\Vim73\gvim.exe


Cygwin config:

Cygwin installed - no version of vim installed from the Cygwin packages - I didn't want parallel installations and any conflicts that might arise therefrom.
Cygwin's $(HOME)/.bashrc has an alias mapping 'vi' to the Win32 native install of GVim (same path as above).

I only set up one _vimrc file, in C:\Program Files (x86)\Vim\_vimrc


When I run:

When I launch GVim from both the Windows shortcut or right-click context menu and from the Cygwin command line, it is obviously using the same _vimrc file as my settings are different enough from the default to be immediately obvious if GVim is loading with them or not (different background color, bigger window, etc).

My assumption is that they are therefore sharing all the same config files and that I really am launching the same executable with the same config.
Is there a way I can ask GVim to tell me what all config files (with full paths) it's using on startup to confirm this?

GVim is launched with no options on the command line - just a file name when I'm editing a file, or no options at all when launching a new, blank window.


Other info:

I mentioned Cygwin because, as far as I can tell, it's launching the same executable with the same config files, but is doing it orders of magnitude faster.  Which seems very interesting, but I'm not sure how to interpret.  It certainly seemed relevant to the discussion.  :)

-Greg







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