-
Notifications
You must be signed in to change notification settings - Fork 186
Description
Description
Hi, I found a possible issue related to tab behavior when Startify is installed.
Steps to reproduce:
Open Vim.
Startify appears in the first tab.
Create a second tab:
:tabnew
Open any file in the second tab.
In the second tab, run:
:bd
Expected behavior (normal Vim behavior):
If a tab contains only one window and its only buffer is deleted with :bd,
Vim should automatically close that tab.
Actual behavior (with Startify installed):
After running :bd, the file buffer is closed,
but the tab does not close.
Instead, the tab switches to a Startify buffer,
so the tab never becomes empty.
Therefore Vim will not close the tab automatically.
This does not happen in a clean Vim environment without Startify.
It seems that Startify’s buffer becomes a fallback buffer, preventing Vim from closing the tab.
Environment:
Vim version: 9.1.1825
Startify version: latest
OS: Windows 11
Additional notes:
I expect :bd to close the tab when it becomes empty, just like default Vim behavior.
But Startify keeps a buffer available inside the tab, so the tab never closes.
Could this be a bug or unintended behavior?
Thank you!