vim wildmenu 深入到目录

Dan*_*ats 7 vim

我使用 vim 尝试搜索要打开的文件。我有wildmenu=full

在此输入图像描述

按下<tab>会将我推到下一个目录,但如何深入了解当前选定的目录?我当前的工作流程是:输入一个字符,删除它,<tab>然后继续。一定会有更好的办法!

rom*_*inl 6

<Down>

当然,可用的键绑定列在下面:help 'wildmenu'

While the "wildmenu" is active the following keys have special
meanings:

<Left> <Right> - select previous/next match (like CTRL-P/CTRL-N)
<Down>         - in filename/menu name completion: move into a
                 subdirectory or submenu.
<CR>           - in menu completion, when the cursor is just after a
                 dot: move into a submenu.
<Up>           - in filename/menu name completion: move up into
                 parent directory or parent menu.
Run Code Online (Sandbox Code Playgroud)