Thursday, July 7, 2022

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

> 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 ///

--
--
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/20220707184300.E80FD1C04CD%40moolenaar.net.

No comments: