title: Vim remap F10 key
body: <p>I use Vim 7.3 on FreeBSD. I connect to this machine through Putty. When working on Vim, I'm unable to remap <kbd>F10</kbd> key to do something I want. In my .vimrc, I did the following:</p>
  
  <pre><code>nmap &lt;F10&gt; :!ls&lt;CR&gt;
  </code></pre>
  
  <p>Then I did, "source $MYVIMRC" to load the changes in .vimrc. When I press <kbd>F10</kbd> after this, it prints ^[[21~ instead of the executing the map. I tried all combination of <code>noremap</code> but nothing works.</p>
  
  <p>Remapping this to other function keys is not an option because they are mapped for other uses.</p>
  
  <p>Just FYI, in Putty configuration options, under Terminal->Keyboard, I have set the "Function keys and keypad" option to "Linux".</p>
  
  <p>Any suggestion to get this to work?</p>