title: Cursor moves to next line when leaving insert mode with remapped <C-Space>
body: <p>I have remapped <code>&lt;C-Space&gt;</code> to <code>&lt;Esc&gt;</code> using the this line in my .vimrc:</p>
  
  <pre><code>inoremap &lt;C-Space&gt; &lt;Esc&gt;
  </code></pre>
  
  <p>when running under MacVim or gVim (I use <code>inoremap &lt;Nul&gt; &lt;Esc&gt;</code> when I don't have gui_running)</p>
  
  <p>It works fine except when I leave insert mode with the cursor at the end of the line.  That is, if I do <code>A</code> to put the cursor at the end of the line, and then type <code>&lt;C-Space&gt;</code>, the cursor moves down to the first column of the next line.  Hitting <code>&lt;Esc&gt;</code> leaves the cursor on the last character.</p>
  
  <p>Why does it do this, and how can I stop it? The <code>&lt;Nul&gt;</code> remapping doesn't have this problem.</p>