title: In Vim tab-completion of file names doesn't work
body: <p>When I try to open a file in Vim (Linux) for editing, when I press TAB, Vim autocompletes filename only with filenames from the current directory. However, having searched on the Web, I suppose that from version 7 Vim should support bash-like filename autocompletion using filenames from all the directories in the search path.</p>
  <p>Say, there is a file <code>file1</code> in a directory <code>dir1</code> (which directory is also in the environment variable PATH).</p>
  <p>I type the following commands in Vim:</p>
  <pre><code>set path=/dir1
  set wildmode=list:longest
  </code></pre>
  <p>And then, when I type:</p>
  <pre><code>:e fil&lt;TAB&gt;
  </code></pre>
  <p>The filename is not autocompleted. How to enable this feature in Vim?</p>