While coding Python, I like Vim\'s omnicompletion function, but I don\'t want Scratch Window to pop up at top.
How can I disable it?
(I\'m using gVim 7.3)>
This behavior is defined by the presence of preview in the value of the 'completeopt' option.
preview
'completeopt'
The default value is:
menu,preview
To remove preview, simply add this line to your ~/.vimrc or modify an existing completeopt line:
~/.vimrc
completeopt
set completeopt-=preview