2011/4/22 Gary Johnson <[email protected]>: > > The point is that there is no functional reason that Vim has to use > "-" to mean that its buffer contents are coming from stdin. My > guess is that Vim's use of "-" is another quirk resulting from its > historical connections to vi, ex and ed.
Then, how could you do something like this if stdin is always threated as input file?: echo ":wq"|vim foo.txt Quite unuseful, ok. But we could add much more commands to the input stream. Well, this is not the "normal" use of vim. But is it "echo something | vim -" as well? Regards. -- Joan Miquel Torres__________________________________ Linux Registered User #164872 http://www.mallorcaweb.net/joanmiquel BULMA: http://bulma.net http://breu.bulma.net/?l2301 -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
