[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] How to set the terminal to vim?
From: |
Greg Wooledge |
Subject: |
Re: [Help-bash] How to set the terminal to vim? |
Date: |
Wed, 3 Jun 2015 10:46:04 -0400 |
User-agent: |
Mutt/1.4.2.3i |
On Wed, Jun 03, 2015 at 09:40:20AM -0500, Peng Yu wrote:
> > My question is to set stdin back to vim. These answers did [not] address my
> > questions.
I don't know what that MEANS. It's nonsense words.
Vim is a program. It reads from stdin, and also takes a filename argument.
If you want to set vim's stdin to something other than the script's stdin
(inherited), then you use shell redirection to achieve that. For example,
vim blah < /dev/tty
What do you want to set vim's stdin TO, if not the user's terminal?