title: How to traverse up the directory structure and kick off mvn build in vimscript?
body: <p>I'm a new vim user who is looking for a little help with a script that would allow me to call mvn build.</p>
  
  <p>Currently I map this as follows</p>
  
  <pre><code>map &lt;F3&gt; :! mvn build&lt;CR&gt;
  </code></pre>
  
  <p>but because this tries to do the build in my current working directory (currently java development so I'm deep in a package under src usually)</p>
  
  <p>How might I go up the directory structure so this mvn build command works correctly?</p>
  
  <p>Thank you in advance</p>