title: When pressing an arrow key, vim terminal mode is cancelled
body: <p>When using vim's terminal mode (access by <code>:term</code>) if I put in two double quotes and then press the left button (such as if you were to type in <code>git commit -m &quot;&quot;</code> and then go back one character to start the message), the following happens:</p>
  <ol>
  <li>The terminal is closed.</li>
  <li>A new line is added above the cursor in the buffer.</li>
  <li>Insert mode is entered.</li>
  <li>The character <code>D</code> is inserted.</li>
  </ol>
  <p>The exact typed sequence is <code>:term&lt;cr&gt;git commit -m &quot;&quot;&lt;left&gt;</code></p>
  <p>Why is it that this series of events happens, and how can I prevent it in the future?</p>