title: Selecting entire function definition in Vim
body: <p>I've been trying Vim for any text editing work for almost a week now. I want to know the fastest way to select a C function definition.</p>
  <p>For example, if I have a function like this:</p>
  <pre class="lang-c prettyprint-override"><code>void helloworlds( int num )
  {
      int n;
      for ( n = 0; n &lt; num; ++n ) {
          printf( &quot;Hello World!\n&quot; );
      }
  }
  </code></pre>
  <p>How would I be able to delete the whole definition including the function name?</p>