On 2008-10-06, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> This doesn't seem to work. I've tried the following and the mouse
> still jumps across the screen:
>
> map <f3> :call system("time")<CR>
>
> I believe the 'external' application I referred to in my original post
> is called 'vimrun.exe'.
>
> Other vimrc points of interest [which I forgot to include in the first
> post]:
> if has("win32")
> set shell=c:\bin\bash
> else
> set shell=/bin/bash
> endif
>
> Cygwin is installed in the root [even though Cygwin screams about not
> doing this... this was a mandated install location.]
I tried a couple of experiments, too, including this:
:set shell=C:\cygwin\bin\date.exe
:set shellcmdflag=
:echo system('')
but the mouse pointer still moved. I found some discussion of the
vimrun command here:
:help win32-vimrun
Here's an untested idea: Use Cygwin's run in place of Vim's vimrun.
Rename vim's vimrun.exe to something else, then copy Cygwin's
/bin/run.exe to where vimrun.exe was and name it vimrun.exe. I've
used Cygwin's run command to start commands without the annoying DOS
window in other situations--it just might work here.
Regards,
Gary
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---