title: How to map Shift-Enter
body: <p>I am trying to customize the behaviour of <code>Enter</code> key in <code>Normal</code> mode in Vim.
  Here is my <code>.vimrc</code>:</p>
  <pre><code>nmap &lt;CR&gt; o&lt;Esc&gt;
  nmap &lt;S-CR&gt; i&lt;CR&gt;&lt;Esc&gt;
  </code></pre>
  <p>I am trying to make Enter simply append a newline after the current line when pressed. However, when the <code>Shift-Enter</code> combination is pressed, I want to break the current line at the cursor.</p>
  <p>The latter does not work. Whenever I press <code>Shift-Enter</code> it just appends a line without breaking it at the cursor.</p>