Page 1 of 1
Locked, but with directory changes allowed tabs
Posted: 2009-06-28, 06:07 UTC
by MVV
This is a good thing but there some inconvenience. When I press '\' button (or use Ctrl+\), TC revert tab to saved dir. But sometimes I want just to go to root folder of drive. So, in such tab I can't do this. Maybe it is better to go to root dir on single Ctrl+\ and to home tab dir on double Ctrl+\?
Posted: 2009-06-28, 18:35 UTC
by sqa_wizard
When I press '\' button (or use Ctrl+\), TC revert tab to saved dir
Well, this is the main reason for locking a tab.
If you want to change dirs most flexible, just unlock the tab
Posted: 2009-06-28, 18:52 UTC
by fenix_productions
I have to agree with sqa_wizard.
If locked tabs would behave like standard ones then locking would be useless in many cases.
Posted: 2009-06-28, 20:34 UTC
by MVV
I know that locking is useful thing, and that go to home dir too. But sometimes it is sad that we get one feature instead of another. I know that I can create another tab and press Ctrl+\ there, but it will be good if locked tab also has feature 'go to root directory'.
BTW, I didn't suggest to remove 'go to home dir' feature of locked tab. And, if I unlock tab, I lost its home dir.
Posted: 2009-06-28, 22:46 UTC
by VadiMGP
2MVV
You have to add LockedGoToDriveRoot=1 to wincmd.ini file.
After this you can use both command to reach drive root and base dir of locked tab. Sorry, i dont remember exact names.
Posted: 2009-06-29, 08:00 UTC
by MVV
VadiMGP wrote:2MVV
You have to add LockedGoToDriveRoot=1 to wincmd.ini file.
After this you can use both command to reach drive root and base dir of locked tab. Sorry, i dont remember exact names.
Thanks, I've missed this option.

Now I can use Ctrl+\ as usually and cm_GoToLockedDir for returning to home directory. I've assigned cm_GoToLockedDir to Ctrl+Shift+\.

Posted: 2009-06-29, 22:00 UTC
by Hacker
MVV,
Maybe it is better to go to root dir on single Ctrl+\ and to home tab dir on double Ctrl+\?
I suggest the other way around:
one Ctrl-\ - go to tab home dir
two Ctrl-\ - go to drive root
Roman
Posted: 2009-06-29, 22:06 UTC
by karlchen
Hacker wrote:I suggest the other way around:
one Ctrl-\ - go to tab home dir
two Ctrl-\ - go to drive root
Roman
Support.
The primary goal of locking a tab is to be able to go back to the root folder of the tab. And the root folder of the tab is the folder which I selected as its root.
Being able to go to the root folder of the drive is secondary in this case.
Hm, maybe the order of going to "tab home dir" and "drive root" could be made dependant on the parameter "LockedGoToDriveRoot":
LockedGoToDriveRoot=0:
1st
ctrl+\ goes to
tab home dir
2nd
ctrl+\ goes to
drive root dir
LockedGoToDriveRoot=1:
1st
ctrl+\ goes to
drive root dir
2nd
ctrl+\ goes to
tab home dir
Wouldn't this make everybody happy?
Karl
Posted: 2009-06-30, 05:41 UTC
by MVV
Hacker wrote:MVV,
Maybe it is better to go to root dir on single Ctrl+\ and to home tab dir on double Ctrl+\?
I suggest the other way around:
one Ctrl-\ - go to tab home dir
two Ctrl-\ - go to drive root
This will be at least strange. For example, I have locked tab at F:\111. I have current path C:\Windows. So, at first, I go to F:\111, and then to C:\ as root folder of another drive? My suggestion was logical.
karlchen wrote:The primary goal of locking a tab is to be able to go back to the root folder of the tab. And the root folder of the tab is the folder which I selected as its root.
Being able to go to the root folder of the drive is secondary in this case.
I think it is enough to go to home by TC restart/tab switch/cm_GoToLockedDir. I don't think this folder is really needed every minute.
MVV wrote:Now I can use Ctrl+\ as usually and cm_GoToLockedDir for returning to home directory. I've assigned cm_GoToLockedDir to Ctrl+Shift+\.

This fully satisfies me.
Posted: 2009-06-30, 06:12 UTC
by ND
How about Ctrl+\ goes to root of Tab, Alt+\ goes to root of Drive:
Code: Select all
[Configuration]
LockedGoToDriveRoot=1
[Shortcuts]
C+OEM_US\|=cm_GoToLockedDir
A+OEM_US\|=cm_GoToRoot
Posted: 2012-03-19, 08:16 UTC
by timjobar
VadiMGP wrote:2MVV
You have to add LockedGoToDriveRoot=1 to wincmd.ini file.
After this you can use both command to reach drive root and base dir of locked tab. Sorry, i dont remember exact names.
Thank you VadiMGP, this is what I was looking for !
I suggest this could be done somewhere in the menus.
PS I was puzzled at first with "" behaving differently after a "Locked, but directory changes allowed".
Posted: 2013-11-19, 20:44 UTC
by sphere22
Besides using a shortcut wouldn't it be useful to assign cm_GoToLockedDir to the tab itself? The activated tab has no left-click mouse function yet...
For me at least that would be a big improvement.
Posted: 2013-11-20, 12:41 UTC
by MVV
sphere22,
You can add buttonbar button with cm_GoToLockedDir so it will be available by mouse click.
Posted: 2013-11-20, 21:47 UTC
by sphere22
MVV wrote:sphere22,
You can add buttonbar button with cm_GoToLockedDir so it will be available by mouse click.
I'm aware of the obvious methods. I already have a button.
The question remains whether it's possible to assign GoToLockedDir to the tabs.
Can it be done and wouldn't it be a useful addition?