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
  • 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, 2019 at 7:34

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.