When omni-completion (or other things) opens the preview window, the size of the main window is reduced in order to make room for the preview window.
By default, the fir
I don't know how to trigger this, but use : :normal! Hmx`` to save current window position, and :normal! `xzt`` to restore it.
:normal! Hmx``
:normal! `xzt``