When opening a new file I use

:e <tab>

then a dropdown appears showing files in the PWD, I can move up and down with <tab> and <shift>+<tab> Pressing <enter> accepts the selection and execute the command.

When I select a folder, I want to see the child files and keep navigating. However, if I press <enter> Ex

How can I accept the suggestion without executing the command?

enter image description here

  • what completion are you talking about? Can you please share a screenshot? Sep 28, 2023 at 9:26
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Friedrich
    Sep 28, 2023 at 9:36
  • Added screenshot for clarification
    – Susensio
    Sep 28, 2023 at 9:57

1 Answer 1


Use <Right> to enter a directory and <Left> to leave it.

Note that :help 'wildoptions' only lazily points to :help ins-completion-menu, which doesn't cover that special case anyway… so you are left with your intuition, here.

FWIW, I tried <Right> and <Left> because I am used to <Down> and <Up> in the wildmenu and the whole thing is turned 90°.

The documentation should be updated.

  • care to create a doc-pr? Sep 28, 2023 at 10:10
  • @ChristianBrabandt I can, but not before this week-end.
    – romainl
    Sep 28, 2023 at 10:54
  • no hurry, we have lived with that until now 🤷‍♂️ Sep 28, 2023 at 11:18
  • In my case, <up> and <down> seem to do the trick.. maybe I have something messed up in my vim config?
    – Susensio
    Sep 28, 2023 at 12:06
  • okey, it seems that nvim has some problem with this, as stated in github.com/neovim/neovim/issues/9953
    – Susensio
    Sep 28, 2023 at 12:14

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.