Skip to content

Close buffer *and* buffer's pane when more than 1 buffer is visible #2

@tombh

Description

@tombh

Currently, if you have a split (or more) then closing a buffer will just close the buffer and not the split, which doesn't feel like the expected thing to do - it should close the pane (and the buffer).

This will need looping through winnr('$') and counting the number of wins that respond true to IsEditable().

Will also need to not close the buffer (ie just the pane), if the pane's buffer is also open elsewhere.

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