How do I make Vim do normal (Bash-like) tab completion for file names?

前端 未结 6 680
孤街浪徒
孤街浪徒 2020-11-30 16:24

When I\'m opening a new file in Vim and I use tab completion, it completes the whole file name instead of doing the partial match like Bash does. Is there an option to make

6条回答
  •  囚心锁ツ
    2020-11-30 16:44

    Apart from the suggested wildmode/wildmenu, Vim also offers the option to show all possible completions by using Ctrl + D. This might be helpful for some users that stumble across this question when searching for different autocompletion options in Vim like I did.

提交回复
热议问题