title: how can I add .js or .cpp before do vim showcut key gf?
body: <p>In a programing language like nodejs, when we use <code>require</code> function, it is not needed to add <code>.js</code> extension. Like this:</p>
  
  <pre><code>var Assert = require('./app_base');
  </code></pre>
  
  <p>In vim, when I do <code>gf</code>, it said in this path can't find <code>app_base</code>.It finds it if I mention <code>app_base.js</code> not <code>app_base</code>.</p>
  
  <p>I don't want add <code>.js</code> in the end of <code>./app_base</code> like <code>./app_base.js</code>but I want find <code>app_base.js</code> when I do <code>gf</code>, how can I do this？</p>