Thank you for you script. I don't change $HOME, $VIM, $VIMRUNTIME in cygwin, because I'm afraid there are some potential conflicts. Do I have to worry about that. Instead, I add the -i and -u option to invoke gvim. It works. BTW, what's the best place to store cyg-wrapper.sh . I store it to /usr/bin. Is /bin better?
alias gvim='cyg-wrapper.sh "D:/Progra~1/vim/vim61/gvim.exe -u D:/Progra~1/vim/_vimrc -i D:/Progra~1/vim/_viminfo" --binary-opt=-c,--cmd,-T,-t,--servername,--remote- send,--remote-expr --cyg-verbose --fork=2' ----- Original Message ----- From: "Luc Hermitte" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 11, 2004 8:08 PM Subject: Re: How to start windows version gvim for cygwin correctly? > * On Tue, May 11, 2004 at 07:46:04PM -0700, Peng Yu <[EMAIL PROTECTED]> wrote: > > But I can not change the directory "Programs Files" to other names. > > Is there anyway to include blank in the alias command? > > I made cyg-wrapper.sh [1] to launch gVim-win32 (at first) from cygwin, > but it should not solve your problem which is probably specific to vim. > > Unless .... > Are your environment variables ($HOME, $VIM, $VIMRUNTIME) different > within cygwin and windows ? If so, fix this. > > [1] http://hermitte.free.fr/cygwin/#Win32 > -- > Luc Hermitte > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/