[EMAIL PROTECTED] wrote:

Mahesh Sivasubramanian/Lex/Lexmark
04/11/2007 10:57 AM

To
"Yakov Lerner" <[EMAIL PROTECTED]>
cc
vim@vim.org
Subject
Re: remote-silent and stdin





Sorry I wasn't clear last time. I am trying to redirect the output of stdin to a remote client(not necessarily ls). Like if I want to do a cat <file> | gvim --remote-silent . Its looks like -remote-silent takes in only files as arguments.
And its documented, too:

  --remote [+{cmd}] {file} ...                    *--remote*
               Open the file list in a remote Vim.  When
               there is no Vim server, execute locally.
               There is one optional init command: +{cmd}.
               This must be an Ex command that can be
               followed by "|".
               The rest of the command line is taken as the
               file list.  Thus any non-file arguments must
               come before this.
               You cannot edit stdin this way |--|.
               The remote Vim is raised.  If you don't want
               this use >
                vim --remote-send "<C-\><C-N>:n filename<CR>"
<  --remote-silent [+{cmd}] {file} ...            *--remote-silent*
               As above, but don't complain if there is no
               server and the file is edited locally.

Note the line that says "You cannot edit stdin this way".

Regards,
Chip Campbell


Reply via email to