Search code examples
vimubuntuautoresizewindow-management

gVim - Ubuntu - Window keeps resizing


I'm in Ubuntu using gVim. Something is just wrong with the Window management of gVim - it keeps resizing on me! ... It usually happens when I either switch tabs or split the window or switch between splits.

Any help would be completely awesome!

Thanks!


Solution

  • I think it might just be the scrollbars. If you don't care about them:

    :setglobal guioptions-=L
    :setglobal guioptions-=l
    :setglobal guioptions-=R
    :setglobal guioptions-=r
    :setglobal guioptions-=b
    :setglobal guioptions-=h
    

    Probably less relevant, but related:

    The menu bar may exhibit the same kind of behaviour depending on (the amount of) plugins loaded. Also, you can opt for the 'ascii' tab button bar

    :setglobal guioptions-=e