Monday, September 12, 2022

Re: Gvim taking a minute or more to start

On Fri, 9 Sept 2022, 12:45 jr, <creature.eternal@gmail.com> wrote:
hi,

On Fri, 9 Sept 2022 at 12:39, A. S. Budden  wrote:
> ...
>> I tried removing the HOME environment variable from cygwin (it's not set to anything in the Windows system, whereas it's set to /home/al in cygwin) and ran the command again from the cygwin terminal and it took a long time to start. I reset HOME to /home/al and it still took a long time to start! Opening a new cygwin terminal resulted in a quick start again. This is really weird!

(shot in the dark, have no MS Windows) what happens if you set a HOME
variable under Windows?

Oooh, that was a good shot! Setting the HOME environment variable seems to work (again, I've only tested this on one machine so far; I'll try the other tomorrow). It doesn't seem to matter what it's set to: I tried c:\cygwin\home\al and also just c:\ and it both cases Vim started very quickly.

Assuming it works on the other PC then that feels like a good & simple fix, but it'd be nice to understand why Vim goes slowly without HOME set to anything.

Thanks

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 vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAOaJ26RAf7vE8L2VCfxBeAxZ%2BYy7UvxzUrSHKtVN5yjNJttMSA%40mail.gmail.com.

No comments:

Post a Comment