Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Improvement] BufferClose like web browsers #234

Closed
snoe opened this issue May 19, 2022 · 0 comments · Fixed by #270
Closed

[Improvement] BufferClose like web browsers #234

snoe opened this issue May 19, 2022 · 0 comments · Fixed by #270
Labels
request New feature or request

Comments

@snoe
Copy link

snoe commented May 19, 2022

In web browsers when you close the current tab, the behaviour for which tab will become active is:

  • if one exists, choose the tab to the right of the closed tab
  • otherwise choose the last tab

It would be nice if the behaviour of BufferClose was the same.

@Iron-E Iron-E added the request New feature or request label Jun 6, 2022
Iron-E added a commit that referenced this issue Mar 2, 2023
In a previous request (issue #234, PR #270), it was asked that
barbar.nvim mimic the behavior of a browser when closing buffers: choose
the buffer to the right of the current buffer.

* NOTE: I tested firefox to double check the behavior matched, and found
        that the current behavior _does_ work as intended.

However, we have had reports that this behavior can be irritating, and
it has been asked that we provide an option for it to be restored to its
original method of function.
Iron-E added a commit that referenced this issue Mar 9, 2023
In a previous request (issue #234, PR #270), it was asked that
barbar.nvim mimic the behavior of a browser when closing buffers: choose
the buffer to the right of the current buffer.

* NOTE: I tested firefox to double check the behavior matched, and found
        that the current behavior _does_ work as intended.

However, we have had reports that this behavior can be irritating, and
it has been asked that we provide an option for it to be restored to its
original method of function.
Iron-E added a commit that referenced this issue Mar 9, 2023
In a previous request (issue #234, PR #270), it was asked that
barbar.nvim mimic the behavior of a browser when closing buffers: choose
the buffer to the right of the current buffer.

* NOTE: I tested firefox to double check the behavior matched, and found
        that the current behavior _does_ work as intended.

However, we have had reports that this behavior can be irritating, and
it has been asked that we provide an option for it to be restored to its
original method of function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants