Replace the on/off "Return to last active tab when closing current tab" setting with a three-way selector for "Selected tab after closing current tab".
The three options should be:
- Last active tab
- Tab before current tab
- Tab after current tab
There is currently no way to select "tab before current tab".
Currently, there is a setting "Return to last active tab when closing current tab". With five tabs open, if I click on tab 1, then tab 3, then press Cmd-W, I will be left on tab 1 if this setting is active, and tab 4 if this setting is not active.
What I want is to be left on tab 2: the tab immediately before the current tab in the tab order, rather than tab 4, which is the tab after. (With a horizontal tab bar, this would be the tab to the left of the current tab)