title: Mapping numeric keypad keys in vim
body: <p>I'm unable to get this mapping to work in vim inside an xterm terminal.</p>
  
  <pre><code>:map &lt;k0&gt; :echo 'Hello'&lt;CR&gt;
  </code></pre>
  
  <p>I can get the same mapping to work fine in gvim. If I issue the above command in vim on a terminal, it accepts it, and it shows up correctly when I type <code>:map</code>. But in normal mode, if I press the <kbd>0</kbd> keypad key, a "0" shows up on the status line, and then disappears with the next keypress.</p>
  
  <p>I'm using the vim that came with Fedora 14 if that matters, and a plain xterm. The keypad keys work fine in insert mode, both with numlock on and off.</p>
  
  <p>What am I missing?</p>