Because new tabs are placed to the right of the tab they were opened from and new tabs opened from the new tab button are the on furthest right, it means that tabs further to the left are probably older, and therefore more likely to no longer be needed. I think it would be good to have a “close tabs to the left” button along with the one for closing tabs to the right. What are your thoughts?

  • testman
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    4 years ago

    sounds like somewhat niche use case

    there is probably an add-on that provides such functionality

    without addons the alternative to closing all tabs to the left of the last needed tab would be the following:

    move to the most right unused tab (one tab to the left of your still-needed tab), position mouse cursor to the tab that is most on the left (first tab), hold Shift and click on that tab.

    At that point, all your unused tabs will be selected. Right click -> close tabs will close all the selected tabs.

    I’m not sure, but it is very likely that there are keyboard shortcuts that can help with that. Ctrl+W will probably close all the selected tabs, removing the need to right click and navigate context menu.

    And there are probably some tab-selecting keyboard shortcuts as well.

  • Ephera
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    4 years ago

    Hmm, but isn’t the point of opening a new tab that you may want to come back to your current tab? Otherwise you could click the link directly or re-use the current tab for opening a new webpage.

    At least, I wouldn’t feel comfortable closing many tabs like that. I want to at least look at the tabs, and if I’m already doing that, I can press Ctrl+W or Ctrl+Tab¹ as I look at them.

    Obviously, I don’t want to put your workflow into question, but yeah, I also think this is something that is rather niche and should probably live in an extension.

    ¹ With the setting changed, so that Ctrl+Tab goes through tabs left-to-right.