Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Locked, but with directory changes allowed tabs

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) Printable version
View previous topic :: View next topic  
Author Message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 4548
Location: Russian Federation

PostPosted: Sun Jun 28, 2009 12:07 am    Post subject: Locked, but with directory changes allowed tabs Reply with quote

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+\?
_________________
VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo…
Back to top
View user's profile Send private message Send e-mail
sqa_wizard
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 2600
Location: Germany

PostPosted: Sun Jun 28, 2009 12:35 pm    Post subject: Reply with quote

Quote:
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
_________________
#5767 Personal license
Back to top
View user's profile Send private message
fenix_productions
Power Member
Power Member


Joined: 07 Aug 2005
Posts: 1881
Location: Poland

PostPosted: Sun Jun 28, 2009 12:52 pm    Post subject: Reply with quote

I have to agree with sqa_wizard.

If locked tabs would behave like standard ones then locking would be useless in many cases.
_________________
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 4548
Location: Russian Federation

PostPosted: Sun Jun 28, 2009 2:34 pm    Post subject: Reply with quote

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.
_________________
VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo…
Back to top
View user's profile Send private message Send e-mail
VadiMGP
Power Member
Power Member


Joined: 05 Apr 2003
Posts: 651
Location: Israel

PostPosted: Sun Jun 28, 2009 4:46 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 4548
Location: Russian Federation

PostPosted: Mon Jun 29, 2009 2:00 am    Post subject: Reply with quote

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. Smile
Now I can use Ctrl+\ as usually and cm_GoToLockedDir for returning to home directory. I've assigned cm_GoToLockedDir to Ctrl+Shift+\. Very Happy
_________________
VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo…
Back to top
View user's profile Send private message Send e-mail
Hacker
Moderator
Moderator


Joined: 06 Feb 2003
Posts: 9108
Location: Bratislava, Slovakia

PostPosted: Mon Jun 29, 2009 4:00 pm    Post subject: Reply with quote

MVV,
Quote:
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
_________________
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
karlchen
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 4036
Location: Germany

PostPosted: Mon Jun 29, 2009 4:06 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 4548
Location: Russian Federation

PostPosted: Mon Jun 29, 2009 11:41 pm    Post subject: Reply with quote

Hacker wrote:
MVV,
Quote:
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+\. Very Happy

This fully satisfies me.
_________________
VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo…
Back to top
View user's profile Send private message Send e-mail
ND
Member
Member


Joined: 10 Apr 2006
Posts: 144
Location: Sibiu, RO

PostPosted: Tue Jun 30, 2009 12:12 am    Post subject: Reply with quote

How about Ctrl+\ goes to root of Tab, Alt+\ goes to root of Drive:
Code:
[Configuration]
LockedGoToDriveRoot=1
[Shortcuts]
C+OEM_US\|=cm_GoToLockedDir
A+OEM_US\|=cm_GoToRoot

_________________
aNDreas Bolotă
The truth always carries the ambiguity of the words used to express it. (Frank Herbert, God Emperor of Dune)
Back to top
View user's profile Send private message
timjobar
New Member
New Member


Joined: 11 Sep 2009
Posts: 1

PostPosted: Mon Mar 19, 2012 2:16 am    Post subject: Reply with quote

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".
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group