I have a program that creates a html file as standard output. To view it in vim I just need to:
$ foo2html foo | vim -
vim will be launched with stdin read-in for viewing. Once I close vim the command will return.
Is there some combination of command-line switches that will make google-chrome do this?
No, I don’t think so. But you can do it via a temporary file instead: