title: How to map "ñ" and "º" chars on .vimrc?
body: <p>Using a spanish keyboard layout like this one:</p>
  <p><a href="https://i.stack.imgur.com/U4BdK.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/U4BdK.gif" alt="enter image description here" /></a><br />
  <sub>(source: <a href="https://www.terena.org/activities/multiling/ml-mua/test/img/kbd_spanish.gif" rel="nofollow noreferrer">terena.org</a>)</sub></p>
  <p>I'm trying to map in my <code>.vimrc</code> the <code>ñ</code> to <code>:</code> in normal mode and the <code>º</code> in the upper left corner to <code>&lt;esc&gt;</code> in insert mode but it is not working. I've tried with <code>imap</code> and <code>inoremap</code> on my <code>.vimrc</code> like:</p>
  <pre><code>nnoremap ñ :
  inoremap º &lt;esc&gt;
  </code></pre>
  <p>I've tried with Vim 7.4 both on Linux and Windows (gvim on Windows). The odd thing is that if I do the remaps in normal mode instead of in the <code>.vimrc</code> file, they work. It's like these chars are treated differently inside the normal mode command line, in fact after loading the <code>.vimrc</code> a <code>:nmap ñ</code> returns &quot;No mapping found&quot;.</p>
  <p>You can check my current <code>.vimrc</code> here: <a href="https://github.com/juanjux/My-Vim-dir/blob/master/.vimrc" rel="nofollow noreferrer">https://github.com/juanjux/My-Vim-dir/blob/master/.vimrc</a></p>