title: can I map a key binding to a function in vimrc?
body: <p>So originally I had the following config in my vimrc</p>
  
  <pre><code>map &lt;F5&gt; :call Compile()&lt;CR&gt;
  </code></pre>
  
  <p>But somehow I feel F5 is not very convenient, so I tried to map it to <code>&lt;A-q&gt;</code> or <code>&lt;A-1&gt;</code>, which seem did not work. I also tried <code>&lt;C-q&gt;</code> and <code>&lt;C-1&gt;</code>, seems nothing happened.</p>
  
  <p>So I can not map a function to a key binding?</p>