New Tab Opening Position Enhancement
-
Stef123
New Tab Opening Position Enhancement
Taking it more literally in terms of layout position, is there a tweak to add the new tab next to the current tab? I don't mean the global setting, I still want to be able to add a new tab at the very end. What I have in mind is a "smart" solution based on context. If I travel to the very end to dbl-click the empty space I want it there on purpose. But when I right-click a tab, I want the new tab right next to it, where it belongs. Any way to achieve that? An undocumented modifier key, an ini tweak?
-
eil
- Posts: 1866
- Joined: 13 Jan 2011 19:44
Re: How do you define the location for new tabs?
doesn't it already work like this?! when i use middle-click on folder it's opened in new tab next to current. and when i use ctrl+t it opens new tab next to current with same path.
Win 7 SP1 x64 100% 1366x768|1900x1080
-
klownboy
- Posts: 4459
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8037 at 100% 2560x1440
Re: How do you define the location for new tabs?
Hey Stef123, I hope all is well. There is the Tools | Configuration setting under Tabs and Panes | Tabs the very first check box is, you guessed it, "Open new tab next to current" that may give you partially what you're after. It appears it makes the new tab next to the current no matter where or how you invoke New tab though.Stef123 wrote:Taking it more literally in terms of layout position, is there a tweak to add the new tab next to the current tab?
Ken
-
Stef123
Re: How do you define the location for new tabs?
Thanks klownboy and eil,
I was wondering if I could have both, new tab at end AND next to current, depending on where I click, or wether I click with a modifier key held down, or any other "tweak" to inverse the config-setting on a per-click basis.
It's not that important, really. Dragging tabs into place works fine, after all. I just figured there might be a quicker way to have some tabs pop up at the end, to deal with them later (not by default, though, mostly I like them next to current)
I was wondering if I could have both, new tab at end AND next to current, depending on where I click, or wether I click with a modifier key held down, or any other "tweak" to inverse the config-setting on a per-click basis.
It's not that important, really. Dragging tabs into place works fine, after all. I just figured there might be a quicker way to have some tabs pop up at the end, to deal with them later (not by default, though, mostly I like them next to current)
-
PeterH
- Posts: 2827
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: How do you define the location for new tabs?
If having set "Open new Tab next to current": activate the tab in front of your wanted insert-position, then open new tab. Seems to me the most direct way.
-
Stef123
Re: How do you define the location for new tabs?
Well, direct it may be, but not practical. I'd have to start over from weird path locations, instad of building up on existing tab paths that I use as benchmark locations, taking it from there. Besides, to open tabs for later use (my todo-reminder), I'd have to scroll to the very end, then click the last tab before opening a new one, and scroll back again.PeterH wrote:activate the tab in front of your wanted insert-position, then open new tab. Seems to me the most direct way.
-
klownboy
- Posts: 4459
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8037 at 100% 2560x1440
Re: How do you define the location for new tabs?
Scripting something similar to what you are talking about may be possible especially since Don just recently provided an update to SC tab which allows for easy tab moves. I suppose the script would the have to look at the locations of existing tabs and if part of the path matched the path <curpath> of the tab you'd like to establish, it would set the position of the new tab adjacent to the matching/similar existing tab. Of course it would have to be invoked by a CTB or keyboard combo, etc.
-
Stef123
Re: How do you define the location for new tabs?
@Sammay and aliteralmind
Apologies for hi-jacking this thread. Its title seemed promising, I had struck gold before in similiar situations coming across tweaks or shortcuts or other nuggets.
@Ken
Thanks for the hint. I might actually try my hands on an easier script that pushes tabs out of the way, to the very end.
Generally speaking, it's hard to imagine a mouse user would click at the end to add a tab up front. More likely, imo, you'd expect the new tab where you clicked, its path based on the currently active tab, but not the tab position. That's what I meant by "context-related" tab locations.
For keyboard aficionados it's even easier. They could simply be provided with seperate shortcuts, one to open next to current, the other at the end.
Apologies for hi-jacking this thread. Its title seemed promising, I had struck gold before in similiar situations coming across tweaks or shortcuts or other nuggets.
@Ken
Thanks for the hint. I might actually try my hands on an easier script that pushes tabs out of the way, to the very end.
Generally speaking, it's hard to imagine a mouse user would click at the end to add a tab up front. More likely, imo, you'd expect the new tab where you clicked, its path based on the currently active tab, but not the tab position. That's what I meant by "context-related" tab locations.
For keyboard aficionados it's even easier. They could simply be provided with seperate shortcuts, one to open next to current, the other at the end.
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: New Tab Opening Position Enhancement
[Split into a new topic from http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=13171]
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
XYplorer Beta Club