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?