title: Why doesn't "history | vim" work?
body: <p>I want to use the Vim to see the result of <code>history</code> (not in the shell). I think <code>history | vim</code> will work (use the result of <code>history</code> as the input of <code>vim</code>), but it returns with:</p>
  
  <pre class="lang-none prettyprint-override"><code>$history | vim
  Vim: Warning: Input is not from a terminal
  Vim: Error reading input, exiting...
  
  Vim: Finished.
  </code></pre>
  
  <p>Can anybody explain this?</p>