How do you automatically remove the preview window after autocompletion in Vim?

前端 未结 7 763
执笔经年
执笔经年 2021-01-29 18:05

I\'m using omnifunc=pythoncomplete. When autocompleting a word (e.g., os.), I get the list of eligible class members and functions, as

7条回答
  •  没有蜡笔的小新
    2021-01-29 18:53

    If you have the supertab plugin installed, there is an option called supertab-closepreviewonpopupclose.

    Put the following in your .vimrc:

    let g:SuperTabClosePreviewOnPopupClose = 1
    

提交回复
热议问题