typing cmds 2x for cygwin shell

2007-02-15 Thread Kev
I use the cygwin shell from within Vim by using the following in my _vimrc : set shell=c:\cygwin\cygwin.bat If I use :r!date to insert the current date, the shell will open and I have to type the command date again. Then after typing exit the shell exits and the date is placed in the buffer.

RE: typing cmds 2x for cygwin shell

2007-02-15 Thread Dr. Uwe Schneider
@Kevin vim passes the date command somehow to the shell invoked. If you set the shell to your script, which is calling the real shell, the information about to invoke the date command gets lost. Regards, Doc I use the cygwin shell from within Vim by using the following in my _vimrc : set