Page 1 of 1

Individual directory history for each tab

Posted: 2025-01-17, 14:02 UTC
by alphonse68
Good day and Happy New Year!!

Is it possible to have individual tab histories so that returning to a previous tab and going back on it does not go through and "erase" the other tabs' histories?

Much appreciated.
Cheers

Re: Individual directory history for each tab

Posted: 2025-01-17, 16:40 UTC
by Horst.Epp
That would be a never ending list of tab histories.
Also, there is no erase of the other tabs history,
it just adds more entries on top, only for the current side.

The number of entries can be configured, and easy searched.

Re: Individual directory history for each tab

Posted: 2025-01-20, 12:23 UTC
by alphonse68
... it just adds more entries on top, only for the current side.
That is exactly what I want it to do, but for each tab, not just the side or panel.

As it is, if I change tabs and then use the back arrow button on the tool bar or Alt+BArrow, it will take me through the history of all the tabs and directories I was on, before making it to the history of the current tab. Having individual histories for each tab would be like having individual histories for each panel, I think.

To illustrate, if I have 4 tabs on one panel and I go to each one, changing directories several times on each, and then go back to the first tab, if I use Alt+BArrow I have to go through the history of the last four tabs before it gets to the history of the first. As soon as I change directories on that first tab again or change tabs, the history on Alt+BArrow / Alt+FArrow for the other four tabs gets erased. No h istory for those four tabs. That is what I would like to not happen.

With individual histories for each tab, changing tabs would allow me to go back and forth only within that tab's history, again, using the back or forward arrow buttons on the tool bar or Alt+BArrow/FArrow.

I don't think that that would be a never ending list of tab histories, from what I understood you say, that the number of entries can be configured. As it is, there is a history for each panel, set to the number of entries we choose (or default), which is very practical. That must have been perfect before there were tabs (I imagine there was a time before tabs).

Re: Individual directory history for each tab

Posted: 2025-01-21, 07:49 UTC
by ghisler(Author)
I have replied to this type of suggestion before: Tabs in a Web browser are not the same as tabs in a file manager. While in a web browser you have different sites, it makes sense to go back within a tab which is usually a single site or very few. In a file manager, most tabs are from the same (local) computer. When you want to go back, the chance is very high that the directory you want to go back to is on a different tab. So as a compromise there is one history per panel, not per tab. This way you only have to remember the side you opened the directory on, or in a worst case, search the two sides for it, not all the tabs (which can be 100s).

Re: Individual directory history for each tab

Posted: 2025-01-21, 13:28 UTC
by nsp
@ghisler(Author) I'm personally in favor of a global history by panel as this is the way i use TC and switch tab for my usage.
An option could be to just add the last tab number recorded in front/end of the source path of the history. Adding a xx> as a prefix or <xx as postfix then filtering could help to get the feature without altering the global per panel history. This will add complexity when you delete, add and reorder tab to keep the info in synch...

Re: Individual directory history for each tab

Posted: 2025-01-23, 13:43 UTC
by alphonse68
@ghisler(Author) I understand. Thank you for the explanation.

Is there a way to set a button to behave like clicking on the parent dir dots of whichever dir I am in at the moment?

Cheers.

Re: Individual directory history for each tab

Posted: 2025-01-23, 17:33 UTC
by petermad
Is there a way to set a button to behave like clicking on the parent dir dots of whichever dir I am in at the moment?
Use the internal command cm_GoToParent in the button.

TC already has a button [..] for this, which is visible over the file panel if either the Drive button bar and/or the Drive combobox is enabled.

You can also go to the parent dir by pressing Backspace of Ctrl+PgUp.

Re: Individual directory history for each tab

Posted: 2025-01-28, 05:10 UTC
by alphonse68
2petermad,
Thank you so very much!
Great to know all three possibles. Ctrl+PgUp will be the most practical for me.
CHEERS!!

Re: Individual directory history for each tab

Posted: 2025-01-28, 11:47 UTC
by petermad
2alphonse68
BTW you can also use cd .. in a button or in TC's command line