Prevent window splitting when using pythoncomplete in Vim

I am using VIM with pythoncomplete. When I complete, the current window breaks and tooltips are displayed in the top pane. I hate this! Is there a way to prevent this behavior, or at least limit the size of the top bar automatically?

+5
source share
1 answer

You need to do something like:

set completeopt-=preview

This will prevent the preview window from opening.

+5
source

All Articles