Skip to content

[Feature] TabClosePre autocmd #16518

@zoumi

Description

@zoumi

Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
I'm using tab page as project's "working space". I want to save t: vars and use :mksession to save windows in the tab page when tab page is going to close. I can not achieve these without TabClosePre autocmd.

Describe the solution you'd like
Provide a TabClosePre autocmd so I can do something before the tab is going to be closed.
(Only trigger this autocmd when tab can be closed)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions