Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion how to: vim -o STDIN somefile.txt
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jürgen Krämer  
View profile  
 More options Oct 4 2012, 11:00 am
From: Jürgen Krämer <jottka...@googlemail.com>
Date: Thu, 04 Oct 2012 17:00:13 +0200
Local: Thurs, Oct 4 2012 11:00 am
Subject: Re: how to: vim -o STDIN somefile.txt

Hi,

her wrote:
> 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
> -------------------------
> stuff from somefilename.txt

  $ echo "some text from stdin that i typed" | vim - -c "sp somefilename.txt"

or

  $ cat | vim - -c "sp somefilename.txt"

Regards,
J rgen

--
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us.     (Calvin)


 
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.