Skip to content

Support closing alpha when opening a file in a new tab rather than the current buffer. #213

@lougreenwood

Description

@lougreenwood

I work using tabpages as my primary organisation method, specifically using tabdrop.

This means that when I open my nvim instance I see my alpha dashboard, I then use telescope to open a file using tabdrop and a new tabpage is created with my file.

The problem is this means that the first tabpage (which contains alpha) is not automatically closed.

From what I can see, this is currently handled by the BufUnload autocmd. However, if I try adding TabNew then it doesn't work since after switching tabs there is no alpha instance in the current tab to close.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions