10

Background: At times, I want to open new tabs at the end of the tab list, and at times I want to open them next to (or as a child of) the current tab. There is a setting for this behavior (Browsing > Open new tab next to current tab), but it applies universally, and it would be nice to be able to control the behavior in the moment.

Suggestion: Allow the inverse of the default behavior with a modifier key, such as option — i.e. ⌘T follows the behavior set in Settings, and ⌥⌘T will do the opposite.

This could be handled as a hidden menu item, like how Window > Minimize becomes Minimize All if the option key is held down. (This also allow power users to customize the keyboard shortcut or script the behavior if desired, without adding clutter to the File menu.)

  • Vlad The primary request: holding “option” will invert new-tab location behavior from the setting in Orion preferences (ideally, for both the keyboard shortcut and the toolbar button).

    Separately, remerson would also like the new tab toolbar button behavior to be handled independently, but I don’t have much of an opinion about that, so I’ll leave it to them if they’d like to clarify that request.

Sometimes I want a new empty tab next to the one I'm currently on, because I want to browse something related. Other times I want a new empty tab at the end of the column/row of tabs (not near the current nearest tabs which are probably related to my current tab), because I want to browse something unrelated. These are two different actions and should have separate commands.

Because there is currently only one 'New Tab' command, whichever way I have the 'Open new tab next to current tab' setting, when I want do it the other way I have to do some little dance with activating other tabs or dragging tabs along for ages to get them in the right position.

So, please have two commands, with two keyboard shortcuts e.g Cmd-T and Cmd-Alt-T. The setting in Preferences can control which command is the 'default', i.e. bound to Cmd-T.

Similarly, another setting can control which command the + button on the address bar is bound to. The + button at the end of the tab bar could be bound to the other command, or the same command, depending on a setting. Whichever command a + button is bound to, holding the Alt key (or some other modifier) while clicking the button could perform the other command.

The tooltip for a + button should say which command it will perform, and give the keyboard shortcut, possibly with the modifier also suggested, e.g. "New Adjacent Tab (Cmd-T). Hold Alt for New Tab At End (Cmd-Alt-T)". Ok, maybe that's too long :/

Alternatively: the two commands could be "New Tab" and "New Child Tab". For me that's not quite as good, but it might be simpler in terms of preferences and shortcuts.

Thanks to Kagi for making such a superb product!

  • Vlad replied to this.

    yes, safari. this is also a duplicate post, trying to find it

      Merged 4 posts from "New Adjacent Tab" vs "New Tab At End" should be two separate commands, not just a setting.

        IIRC Safari does 'New Adjacent Tab' for Cmd-T, and 'New Tab At End' for the + button on the toolbar. But it calls them both "New Tab", which is slightly unclear.

        • Vlad replied to this.

          remerson Can you show these options in Safari together with their shortcuts?

            Vlad I can show the difference.

            Here is Safari with three tabs and the first tab focused:

            If I hit Cmd-T I get a new tab next to the previously focused one:

            But if I click the + button on the toolbar, I get a new tab at the end of the (horizontal) tab list:

            Safari does not have a preference to change this behaviour. To my knowledge the keyboard shortcut and the toolbar button are both just called "New Tab" even though they don't do exactly the same thing.

              Vlad The primary request: holding “option” will invert new-tab location behavior from the setting in Orion preferences (ideally, for both the keyboard shortcut and the toolbar button).

              Separately, remerson would also like the new tab toolbar button behavior to be handled independently, but I don’t have much of an opinion about that, so I’ll leave it to them if they’d like to clarify that request.

              Vlad Hi Vlad, I'll try to summarise:

              • "New adjacent tab" and "new tab at end" should be separate actions.
              • By default, match Safari: Cmd-T does "new adjacent tab"; + button on toolbar does "new tab at end".
              • I suggest the + button at the end of the tab list also does "new tab at end", because that's where it is.
              • Per @tuesday's request, holding the Option key should perform the opposite behaviour (so Cmd-Opt-T does "new tab at end", + buttons while holding Opt do "new adjacent tab").
              • Provide a preference to have the opposite behaviour instead of the default. When this preference is set, holding Opt should perform the original default behaviour.
              • Perhaps also provide a preference to allow the two + buttons to perform one action each, instead of the same action. Safari's behaviour has only a keyboard shortcut for one of the actions, which isn't great.
                a month later
                23 days later

                It's an extension, not a browser, but Tree Style Tab includes this functionality plus a few additional features that I've found helpful:

                The "+" button at the bottom of the tabs list has a sub-menu that allows you to open a new tab in several different locations:

                In settings, you can choose which of these options is the default:

                And you can set custom keyboard shortcuts for each (note that these are my own custom shortcuts; I don't recall what the defaults are):

                This level of complexity might be overkill for Orion, but I'd love to have the ability to open a new child tab using a keyboard shortcut in addition to the adjacent (sibling) tab behavior discussed above.

                a year later

                So it's kinda works thanks for "New Tab next to current" settings but only in one way: when you want new tab at end as alternative. Because hotkey with ⌥ always work like "New Tab at End" regardless of setting.

                When your main preference is new tab at end (like mine) it doesn't. And here is workaround for those like me:

                1. Setup open New Tab next to current in Orion settings
                2. Setup Keyboard Shortcuts in MacOS settings

                  2.1 New Tab = ⌘ + ⌥ + T
                  2.2 New Tab at End = ⌘ + T

                In conclusion: all you need to add it's dependency ⌘ + ⌥ + T with "Open new tab next to current tab" settings.
                When it's checked ⌘ + ⌥ + T works like "New Tab at End"
                When it isn't ⌘ + ⌥ + T works like "New Tab Next to Current"

                  No one is typing