On 19 Sep., 16:25, Tony Mechelynck <[EMAIL PROTECTED]>
wrote:
> krischik wrote:
> > Hello,
>
> > the following command won't write the result of "&modified" to the
> > file "X" but display it inside a pop-up window:
>
> > --------------------------------------------------------------------------------------------
> > gvim --nofork --servername 'Eclipse' --remote-expr "&modified" >x
> > --------------------------------------------------------------------------------------------
>
> > Am I mistaken or does this does make "--remote-expr" rather useless on
> > Windows?
>
> > Martin
>
> Use a console version (with +clientserver) instead:
>
>         vim --servername 'Eclipse' --remote-expr "&modified" >x

For a sec I though "which console version?" but then I checked and
indeed there is one in ""C:\Program Files\vim\vim71\" and it works.
You earned yourself 5 stars for this answer.

Martin


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui