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

前端 未结 7 708
执笔经年
执笔经年 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

    I know this question is very old, but after days of looking for a "clean" solution I just found the CompleteDone autofunction that does the job:

    au CompleteDone * pclose
    

提交回复
热议问题