Traversing directories with vim file name completion in insert mode (Ctrl-X Ctrl-F)

▼魔方 西西 提交于 2019-12-05 04:56:53

I'm not sure exactly what you're saying, but you can just press Ctrl-XCtrl-F again on a directory while you're in the completion menu to expand it. You don't have to close out of the menu first. I just keep Ctrl held down and tap xf to traverse a directory, n and p to move up and down and w to go back up.

If you don't use :h i_CTRL-F then you could remap it. For example,

inoremap <C-f> <C-x><C-f>

Vim doesn't do auto-completion.

For that, you'll need a dedicated plugin like AutoComplPop or NeoComplCache

Please use insert "i" first before using cntr+x+f. I was in similar situation. :)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!