2

I'm aware that the VimResized event happens the main vim window is resized. Is there any event that happens when a split subwindow is resized? I'm looking for something like WinResized.

I'd like to define an autocmd that gets triggered when I move the boundary between split subwindows within the larger vim window.

1

1 Answer 1

1

It exists since Vim 9.0.0917

Patch 9.0.0917
Problem:    The WinScrolled autocommand event is not enough.
Solution:   Add WinResized and provide information about what changed.
            (closes #11576)

:h WinResized

1
  • Great, thanks! Looks like neovim has adopted WinResized as well.
    – Jasha
    Commented May 25 at 18:11

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.