Is there a way to update scroll
every time window height changes?
I know, that I can achieve the same behavior calling winheight(0)
on each ctrld press as suggested here, but I'm curious if there is another way.
Is there a way to update scroll
every time window height changes?
I know, that I can achieve the same behavior calling winheight(0)
on each ctrld press as suggested here, but I'm curious if there is another way.
VimResized
which could be interesting for you:h VimResized