Page 7 of 7
Re: History for every tab
Posted: 02 Nov 2008 09:47
by admin
serendipity wrote:admin wrote:F7 won't help if the last two locations were on the same tab. I re-added the command to jump to the last tab. Must be enough for now.
Nice, this option is more useful for me than the F7 option.
Update: Even nicer because now I can mimic "close-tab-&-go-to-previously-used-tab". I assigned ctrl+w to this UDC:
Code: Select all
//Close tab
#351;
//Go to previous tab
#1060;
But this will sometimes flicker with an intermediate tab, right? Better would be an option to "Activate previous tab on closing..."
Re: History for every tab
Posted: 02 Nov 2008 10:53
by PeterH
For direct use, such options (as a kind of default) are always useful.
But for inside a script an operand like
TabClose "gotoprev"
would be optimum? With operands like first, last, left, right, 3.
Maybe numeric ones (beside "prev") could be enough, with:
1=first, 5=5th or last, (999=last,) -1=left, +3=3right?
And by the way: I hate cmds like #4711

Re: History for every tab
Posted: 07 Feb 2009 20:26
by a1l0s2k9
Update: Even nicer because now I can mimic "close-tab-&-go-to-previously-used-tab". I assigned ctrl+w to this UDC:
Code: Select all
//Close tab
#351;
//Go to previous tab
#1060;
I like your idea! Sadly the script doesn't work on my system. :( It only closes the tab, then either selects the left or right tab depending on the value of "Tabs -> Activate Left tab on closing current". Any hints?
Thanks!
Re: History for every tab
Posted: 08 Feb 2009 11:58
by admin
a1l0s2k9 wrote:Update: Even nicer because now I can mimic "close-tab-&-go-to-previously-used-tab". I assigned ctrl+w to this UDC:
Code: Select all
//Close tab
#351;
//Go to previous tab
#1060;
I like your idea! Sadly the script doesn't work on my system.

It only closes the tab, then either selects the left or right tab depending on the value of "Tabs -> Activate Left tab on closing current". Any hints?
Indeed this does not work, and looking at the code I wonder why/if it ever did.
Well, it should work in the
next version, like this:
Code: Select all
* Configuration | Tabs: Now with "Activate left tab on closing
current" AND "Cycle tabs in recently used order" both enabled, the
*previously used tab* is auto-selected on closing the current tab.