Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Subject: RE: GVIM Date: Wed, 17 Mar 2004 12:44:33 -0500 Message-ID: <33F012255162604984A3F4BDA95C6EC4F12E07@mstaex1b.dsrusi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Crescioli, Phil" To: Cc: X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i2HHjY85022034 FYI, I took your bash shell vi->gvim converter and re-wrote it for placement in my ~/.tcshrc. if ($?tcsh) then if ("$TERM" == "cygwin") then echo "Setting VI to kickoff GVIM within a cygwin window" if (-x "C:/vim/vim62/gvim.exe") then alias vi "C:/vim/vim62/gvim.exe" endif endif endif Thanks for the tip! Phil --- -----Original Message----- From: offby1 AT blarg DOT net [mailto:offby1 AT blarg DOT net] Sent: Friday, March 12, 2004 9:51 AM To: Crescioli, Phil Subject: Re: GVIM >>>>> "Phil" == Crescioli, Phil writes: Phil> Hello all, Why is only VIM and not GVIM included with the Phil> Cygwin package? I'd love to use GVIM straight from a Cygwin Phil> install. Cygwin packages whatever software someone has bothered to port to Cygwin. Apparently nobody has ported gvim. Go ahead and do it yourself! As it happens, I use gvim with Cygwin, and it's fine. I had to install Cygwin and gvim separately, of course, but neither installation is difficult. To further the illusion of gvim being "part of" Cygwin, I've put this shell function definition in ~/.bashrc: if [ "$OSTYPE" = "cygwin" ]; then if [ -x "/c/vim/vim62/gvim.exe" ]; then vi () { /c/vim/vim62/gvim.exe "$@" } fi fi Thus, when I type `vi foo' in a Cygwin shell, I actually run gvim. -- Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. John F. Woods -- 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/