her wrote:$ echo "some text from stdin that i typed" | vim - -c "sp somefilename.txt"
> how can i do this:
> vim -o STDIN somefile.txt
> what i want is something like this:
> $ vim -o "some text from stdin that i typed" somefilename.txt
> and vim would open horizontally splitted as in:
> some text from stdin that i typed
$ cat | vim - -c "sp somefilename.txt"
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.