Page 1 of 1

Select folder when moving back in history

Posted: 2011-08-06, 13:26 UTC
by dphp0708@alice-dsl.net
First of all: I am a great fan of TC. Thanks for this great tool!
There's only this one little thing which Windows Explorer handles better: when you go back in history (Alt+Left-Arrow) it selects the folder that you were in before, which is very handy. TC does not. :-( But TC really does it, when you just go one level up. Why not handle it the same way when going back in history? Shouldn't be a very big issue - does it?
Thanks in advance
Dieter

Posted: 2011-08-06, 15:25 UTC
by HolgerK
Shouldn't be a very big issue - does it?
No.

"Configuration -> Options -> Misc"
Just assign <Alt+Left> to the command cm_GoToParent.


Regards
Holger

Posted: 2011-08-07, 14:25 UTC
by dphp0708@alice-dsl.net
Thanks for the comment.
But this is not quite, what I want. I do not want to go back to the parent folder, but back in history. Also this suggestion does not consider clicking the back button. The behaviour between clicking it and Alt+Left would no more be the same.
Best regards
Dieter

Posted: 2011-08-07, 19:23 UTC
by Hacker
dphp0708-at-alice-dsl.net,
In other words, you'd like TC to remember the cursor position, too.

Roman

Posted: 2011-08-07, 20:14 UTC
by HolgerK
dphp0708@alice-dsl.net wrote:Also this suggestion does not consider clicking the back button. The behaviour between clicking it and Alt+Left would no more be the same.
You can assign the same command to this button too. :wink:

Don't get me wrong, I'm not against your suggestion but i guess it would result in a incompatible change of the wincmd.ini (Left/RightHistory) section.

BTW: Cursor position.
It must be the name of the file or the folder under the cursor.
A position as number would be insufficient if a file is created or deleted or if the sorting of the panel is changed.

Regards
Holger

Posted: 2011-08-08, 05:10 UTC
by MVV
HolgerK, I think there is no any need to save positions into wincmd.ini, just keep them in memory. I don't think theese positions are required after restarting TC, just while navigating. So, we only need to remember focused item name together with folder path.

Posted: 2011-08-08, 14:40 UTC
by HolgerK
Yes, that's a compromise (as already implemented for the cursor position in different tabs)

Regrads
Holger

Think so, too

Posted: 2011-08-08, 20:26 UTC
by dphp0708@alice-dsl.net
I also think, that MVV's suggestion would be a good compromise.

Now I see, that it ist not as easy as I originally thought. I understand, that the former position must be stored somewhere, because the history can span folders and even drives. Probably this is, what you call the cursor.

As said above - the suggestion of MVV seems to be a nice approach.

Best regards and thanks for your comments
Dieter