Thursday, July 7, 2022

Re: how to redirect pipe output to vim in case remote?

Hi Bram

Is it the same even if it is from a terminal run inside vim?

On Thu, Jul 7, 2022 at 2:43 PM Bram Moolenaar <Bram@moolenaar.net> wrote:

> The following command works
> *ls | gvim - *
>
> But
> *ls | gvim --servername GVIM1 --remote-tab - *
>
> does not?
>
> shouldnt it be similar in operation?

That doesn't work because the remote gvim does not have access to this
stdin.  You will have to save the text into a file first, then you can
tell the remote gvim to open that file.

--
hundred-and-one symptoms of being an internet addict:
76. Your ISP regards you as a business partner rather than as a customer.

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///


--
==============================
Rajdeep
==============================

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CACkx65AsQfLgBUbFodajrZL9hVp-3dzXJkuC0dZcZkohGF-cMQ%40mail.gmail.com.

No comments:

Post a Comment