You've this mistake before, right?

  cat /tmp/foo.txt | vim

when you meant to do

  cat /tmp/foo.txt | vim -

Somewhere early in my Vim learning I figured out the latter, so I
usually don't repeat the mistake.

But why *is* that even a mistake? What is the purpose/origin/history
of the first example, the vim "sans-dash" behavior?

Seems like the "vim -" behavior (read text from stdin) would make
for a much more useful default.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to