Thursday, October 4, 2012

Re: how to: vim -o STDIN somefile.txt

On Thursday, October 4, 2012 10:01:54 AM UTC-5, Tim Chase wrote:
>
>
> You can work around it with this convoluted invocation:
>
>
>
> echo "some text from stdin" | vim -c "sp somefile.txt" -
>
>

Or even worse for multiple files:

echo "some text from stdin" | vim -c new -c "args *.txt" -c sball -

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

No comments:

Post a Comment