title: VIM: How to get the current function name
body: <p>In my vim configuration, I mapped <code>,pt</code> to run a phpunit test.</p>
  
  <pre><code>map &lt;leader&gt;pt :!clear &amp;&amp; vendor/bin/phpunit % --testdox&lt;cr&gt;
  </code></pre>
  
  <p>But sometimes I want to run a specific test by using phpunit <a href="https://stackoverflow.com/a/26095567/959060">--filter</a></p>
  
  <pre><code>map &lt;leader&gt;pt :!clear &amp;&amp; vendor/bin/phpunit --filter {FUNCTION_NAME_HERE} % --testdox&lt;cr&gt;
  </code></pre>
  
  <p>Is there anyway we can fill the function name automatically in vim?</p>