@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 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. Any suggestions on how 
>to avoid typing the command a second time?
>Thanks, Kevin

Reply via email to