Is there a vim event caused by terminal window resizing?

If you change the size of the terminal window in which you use vim (or macvim), is there any vimscript event that fires and to which you can attach auto commands to?

+5
source share
1 answer

The event you are looking for VimResized. See more details :help VimResized.

For a complete list of autocmd events and their details, see :help autocmd-events.

+9
source

All Articles