sonntag/tabshepherd

Is there any difference between setting tabs-to-keep number to 1 vs 0?

Opened this issue · 1 comments

I mean this part in Options:

Don't auto-close if I only have:
[N] tabs open (not including pinned tabs).

Currently there isn't a difference, simply because the plugin won't close the tab that is currently active. This is by design, since the tab that the user is looking at should never be closed.

In the next release, there will be a feature that will allow tabs to be counted per window instead of overall. At that point there will be a difference. Setting a value of 1 will close all but 1 tab in each window, but setting a value of 0 will close all tabs in all windows except for the tab that is currently in use.