title: Pasting to vim from clipboard cuts off first few lines
body: <p>I'm using vim in terminal on OSX with a blank .vimrc file. I try to paste the following from my clipboard:</p>
  
  <pre><code>#!/bin/bash
  set -e
  set -o pipefail
  
  npm run precommit
  </code></pre>
  
  <p>using</p>
  
  <pre><code>:set paste
  </code></pre>
  
  <p>but in vim, what's pasted (using cmd-v) is</p>
  
  <pre><code>et -e
  set -o pipefail
  
  npm run precommit
  </code></pre>
  
  <p>Anybody know what's wrong?</p>