title: How do I map keys to assign a value in vim?
body: <p>I am using highlighted search in vim. So when I search for a word, all occurrences of the word get highlighted. After I'm done, I want to remove the highlighting.<br>
  According to the <a href="http://vimdoc.sourceforge.net/htmldoc/pattern.html#last-pattern" rel="nofollow">Vim Documentation</a>, <code>:let @/=""</code> clears the last searched pattern and removes the highlighting.  </p>
  
  <p>So I am trying to map <code>Ctrl+/</code> to <code>:let @/=""</code>.</p>
  
  <p>I've added the following line to my .vimrc</p>
  
  <pre><code>nnoremap &lt;C-/&gt; :let @/=""&lt;CR&gt;
  </code></pre>
  
  <p>But it doesn't work. <code>Ctrl+/</code> doesn't clear the search patter. On the other hand, if I manually type in <code>:let @/=""</code>, it works fine.</p>
  
  <p>What am I doing wrong?</p>