简体   繁体   English

在Vim中使用pythoncomplete时防止拆分窗口

[英]Prevent splitting Window when using pythoncomplete in Vim

I'm using VIM with pythoncomplete. 我正在使用带有pythoncomplete的VIM。 When I'm making a completion, the current window is splitted and calltips are shown in the upper pane. 当我完成时,当前窗口被拆分,并且上部窗格中显示了calltips。 I hate that! 我讨厌那个! Is there a way to prevent that behavior or at least limit the size of the upper pane automaticly? 有没有办法防止这种行为或至少自动限制上部窗格的大小?

You need to do something like: 你需要做一些事情:

set completeopt-=preview

This will prevent the opening of the preview window. 这将阻止打开预览窗口。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM