Sunday 15 April 2012

vim - Disable window resize when changing focus -



vim - Disable window resize when changing focus -

i have single vim-tab multible windows. when alter focus (vim-)window, vim seems impose minimal window width. example, if have 2 open windows split vertically, alter of focus right 1 results in shifting seperators bit left (1 character, guess terminal-width odd) , , vice versa. annoying when there more windows, since moving around changes layout of tab.

i tried setting wfw, when open window (again split vertically) new 1 have width 1, , ctrl-w = doesn't work more.

is there alternative disable resizing on focus change, while still beeing able ctrl-w =?

edit: i'm running vim 7.4, beeing official debian jessie vim-gnome package. behaviour reproducable without .vimrc. i'm using urxvt, , xterm shows same behaviour.

i don't know went wrong, problem caused using session file created vim-obsession. deleting file , starting new session fixed above.

vim

No comments:

Post a Comment