title: Traversing directories with vim file name completion in insert mode (Ctrl-X Ctrl-F)
body: <p>I’m trying to use vim’s <code>compl-filename</code> feature (<kbd>Ctrl-X</kbd><kbd>Ctrl-F</kbd>) to complete paths in <code>INSERT</code> mode, but I can’t work out how to traverse into directories without (temporarily) ending the completion mode:</p>
  
  <p>Let’s say I want to complete the path <code>/etc/sysconfig/network-scripts/ifup</code>.</p>
  
  <p>I would like to be able to do something like:</p>
  
  <pre>
  <kbd>/</kbd><kbd>e</kbd><kbd>Ctrl-X</kbd><kbd>Ctrl-F</kbd>
  /e<b>tc/</b>
  /etc/<kbd>s</kbd><kbd>y</kbd><kbd>s</kbd><kbd>Ctrl-F</kbd>
  /etc/sys<b>config/</b>
  /etc/sysconfig/<kbd>n</kbd><kbd>e</kbd><kbd>t</kbd><kbd>Ctrl-F</kbd>
  /etc/sysconfig/net<b>console</b><kbd>Ctrl-N</kbd>
  /etc/sysconfig/net<b>work</b><kbd>Ctrl-N</kbd>
  /etc/sysconfig/net<b>work-scripts/</b>
  /etc/sysconfig/network-scripts/<kbd>i</kbd><kbd>f</kbd><kbd>u</kbd><kbd>p</kbd><kbd>Ctrl-Y</kbd>
  /etc/sysconfig/network-scripts/ifup
  </pre>
  
  <p><b>The issue is, as soon as I start typing* after a path match (like <code>/etc/</code>), it ends file name completion</b>. I would like it to stay in file name completion, so that I can still use <kbd>Ctrl-F</kbd>, <kbd>Ctrl-N</kbd>, etc. Since it ends completion, I have to type <kbd>Ctrl-X</kbd><kbd>Ctrl-F</kbd> again to restart it, and the helpful completion popup menu disappears in the meantime.</p>
  
  <p>Is there an option I can set to change this?</p>
  
  <p><b>*</b> By ‘typing’ here, I am referring to characters in <code>'isfname'</code> -- of course, typing other characters (like space or punctuation) should not continue file name completion.</p>