oskargicast
oskargicast

Reputation: 667

Avoid auto hide when moving between windows using VIM split horizontal

I am struggling with this odd behavior. I am learning vim and I guess I deconfigure it trying to playing with multiple windows.

Now when I split horizontally a window (using ctrl+ws) and try to move between them, I can only see a window at the same time (I guess the size of the focused window is set to 100% automatically) so I can re-size it again using ctrl+w=, but it's frustating do it many times.

UPDATE:

I am using the spf13 config. And using this my local config in .vimrc.local

Thank you guys :)

Upvotes: 1

Views: 225

Answers (1)

Ingo Karkat
Ingo Karkat

Reputation: 172698

You probably have :set winheight=999, this creates this effect.

Find out where it got set via

:verbose set winheight?

and remove that setting, or undo it via :set winheight&.

Upvotes: 2

Related Questions