使所有分屏的宽度相同的捷径?

Run*_*tle 39 vim macvim

当我打开gvim -S(带有会话)时,我的分屏的宽度被搞砸了,我必须手动调整它们.

是否有快捷方式使所有分屏都具有相同的宽度?

谢谢

seh*_*ehe 72

这通常应该有效:

    C-w=
看窗口调整大小

窗口有例外,保持最小/最大宽度."侧边栏"样式插件(taglist,nerdtree)经常出现这种情况; 在这种情况下,它可能只是在他们不调整大小时你想要的.


Mic*_*kis 9

vim帮助页面:

CTRL-W =    Make all windows (almost) equally high and wide, but use
            'winheight' and 'winwidth' for the current window.
            Windows with 'winfixheight' set keep their height and windows
            with 'winfixwidth' set keep their width.
Run Code Online (Sandbox Code Playgroud)