Skip to content

new_tab !neighbor doesn't shift the tabs down, just swaps the existing neighbor to the end #1256

Description

@nerdrew

When opening a new tab with the !neighbor setting, I expect it to shift the tab list over one instead of moving the existing neighbor to the end. Is that a bug or the expected behaviour?

Given these tabs:

tab1 (active) ┇tab2 ┇tab3

Existing behavior when adding a new tab when tab1 is active:

tab1 ┇tab4 (new tab) ┇tab3 ┇tab2

Expected behavior (at least expected by me) when adding a new tab when tab1 is active:

tab1 ┇tab4 (new tab) ┇tab2 ┇tab3

Commit to fix: nerdrew@a47a01e
I can open a PR if my expectations are correct and this is a bug.

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