From: Pierre DOT Humblet AT eurecom DOT fr (Pierre A. Humblet) Subject: Re: function vi {... 13 Nov 1998 22:21:38 -0800 Message-ID: <3.0.5.32.19981113094321.00898440.cygnus.gnu-win32@pop.ne.mediaone.net> References: <19981112143628 DOT 10092 DOT rocketmail AT send106 DOT yahoomail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: earnie_boyd AT yahoo DOT com, cygwin users At 06:36 AM 11/12/98 -0800, Earnie Boyd wrote: >I thought I would share this nice function you can put into your >.bashrc file. >Note, this will only benefit those using the win32 native version of >vim.exe. > >function vi { > VIMFILES=; > for FILE; > do VIMFILES="$VIMFILES `cygpath -w $FILE`"; > done; > vim $VIMFILES; >} > >CAUTION: >Do not name the function vim and do not alias vim=vi. If you do >either you'll create a circular reference which doesn't resolve. > A way around the CAUTION is to write "command vim $VIMFILES;", which will pick up the command and not the function. Pierre - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".