1

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.

  • 1
    I nerver used it so I'm not sure how convenient that would be but there is an autocommand event VimResized which could be interesting for you :h VimResized – statox May 27 at 7:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.