ExitPre

The ExitPre event:

Fires:

radio_button_unchecked

When using :quit, :wq in a way that makes Neovim exit

radio_button_unchecked

When using :qall, just after QuitPre.

Notes:

radio_button_unchecked

Can be used to close any non-essential window.

radio_button_unchecked

Exiting may still be cancelled if there is a modified buffer that isn't automatically saved, use VimLeavePre for really exiting.

See Also:

radio_button_uncheckedQuitPre
radio_button_uncheckedWinClosed
radio_button_uncheckedVimLeavePre