title: Getting relative paths in Vim
body: <p>Say I am running Vim and pwd returns</p>
  
  <pre><code>/home/rafid/myproject
  </code></pre>
  
  <p>And say I am currently editing the file</p>
  
  <pre><code>/home/rafid/myproject/website/editpage.php
  </code></pre>
  
  <p>Is there any command that returns this for me?</p>
  
  <pre><code>website/editpage.php
  </code></pre>
  
  <p>That is, the path of the file relative to the current folder.</p>