title: Vim n key for "partial" word search?
body: <p>If I have a C++ function implemented like so in the source file:</p>
  
  <pre><code>void ClassName::foo ()
  {
     if ( true)
     {
        while ( true )
        {
           fork ();
           1 / 0;
        }
        foo ();
     }
  }
  </code></pre>
  
  <p>And I put my cursor on the 3rd last line <code>foo ()</code> and press <kbd>*</kbd>, it complains "search hit BOTTOM, continuing at TOP". In other words:</p>
  
  <pre><code>/\&lt;foo\&gt;
  </code></pre>
  
  <p>does not match </p>
  
  <pre><code>ClassName::foo
  </code></pre>
  
  <p>Is there anyway to override the default search functionality</p>