'Vim Log Events (Close Window)


For my current problem I need some kind of WinClose event in Vim. I know that there is the WinNew event thrown when I split a window. The same I need for the :close command. In the list of events (:h autocmd-events) I couldn't find something like this reading the descriptions. Also if other pairs like TabNew & TabClosed or WinEnter & WinLeave are there.
So the idea is to track all events thrown in Vim and try to find out what event is thrown when closing a window like this.
Thanks for helping me!



Solution 1:[1]

vim v8.2.3591 added a WinClosed event.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Sagar