Word / Code Completion in VIM

陌路散爱 提交于 2019-12-02 21:07:49
:set completeopt=longest,menu,preview

maybe?

(I'm not sure if your statement

"when I press TAB, it should do nothing, because there is no more common ground than te"

conflicts with your later statement

"to testor after a 2nd TAB."

It seems to me that there's no more common ground than "test" at that point... Unless you mean the first tab goes to the longest common ground, and then the subsequent tabs cycle through the other matches, in which case you're after what I have above...)

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