On Tue 21-Nov-06 9:12pm -0600, Paul Stone wrote:
> I know this is a bizarre request. I would like to prevent Vim from
> going to my Home directory. The reason is that my IT department has
> mapped my home directory to a laggy network drive with a login script.
> I can't override the Windows environment variables which set up the
> home directory, because the login script overrides my settings.
>
> I can set up the environment in a DOS box, but I like to be able to
> invoke Vim by using the "edit with vim" context menu item.
>
> Any advice on how to workaround this issue? Vim keeps grinding to a
> halt while waiting for a response from the network drive, so I have to
> solve this.
>
> If there's no way to workaround it in Vim, then I will contact IT to
> see if they can change my login script.
Even if you can change almost nothing, you could could start
Gvim/Vim with:
Vim --cmd "let $HOME = 'where-ever-you-like'" ....
The --cmd precedes EX and VIMRC files.
--
Best regards,
Bill