5

Consider a directory structure like this:

topdir/
  file1
  file2
  foo/
    bar1
    bar2

Say I want to open some file in foo/ in a new tab. I would first write :tabe topdir/, and then keep hitting <TAB> until :tabe topdir/foo/ is displayed.

Then, I want to tab-complete the files in foo/. But if I just hit <TAB> again, I'll wrap around to file1 instead of going down into the foo/ directory.

I can get around this by typing and deleting a space, but this seems kind of ugly. Is there a way to directly say, "yes, this is the partial completion that I want—now tab-complete again as if I had entered this command manually up to this point"?

(For reference, my wildmode is full.)

1
  • See here. What do you have wildmode set to?
    – bsmith89
    Feb 3, 2015 at 22:28

2 Answers 2

8

Simply press the right arrow key.

demonstration

8

I prefer to type / because extra/////slashes///are//ignored.

Also, the arrow keys are poison. :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.