Please help me with tabs
Moderators: Hacker, petermad, Stefan2, white
- Steve Adams
- Junior Member
- Posts: 22
- Joined: 2004-08-07, 22:55 UTC
- Location: Florida USA
Please help me with tabs
Hello Everybody,
I would like tabs to be created in a pane for everytime I
chane dirs in that pane.
When I start TC, a tab is already there in the pane for that dir.
Yet when I change dirs, there remains only 1 tab (but now for the
current dir).
Is there a setting to make a new tab for every dir change?
i.e. if I change dirs 5 times in same pane (to 5 diff dirs) I would
like to have 5 different tabs.
I would like tabs to be created in a pane for everytime I
chane dirs in that pane.
When I start TC, a tab is already there in the pane for that dir.
Yet when I change dirs, there remains only 1 tab (but now for the
current dir).
Is there a setting to make a new tab for every dir change?
i.e. if I change dirs 5 times in same pane (to 5 diff dirs) I would
like to have 5 different tabs.
Thanks,
Steve (TC 6.5)
Steve (TC 6.5)
right click on the tab and activate 'lock this tab'. In the Wincmd.ini you could configure, wihat should happen if you change the dir.Totalcmd help: 4.b. Wincmd.ini wrote:LockedTabChange=1 What to do when changing dir on locked tab:
0: always create a new tab
1: re-use tab with same dir
2: re-use first unlocked tab
3: re-use last unlocked tab
TabEnterDirChange=1 What should happen when users presses ENTER on a dir on a locked tab?
0: nothing
1: open new tab
2: ask user
hope that helps
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
- StickyNomad
- Power Member
- Posts: 1933
- Joined: 2004-01-10, 00:15 UTC
- Location: Germany
- Steve Adams
- Junior Member
- Posts: 22
- Joined: 2004-08-07, 22:55 UTC
- Location: Florida USA
After you've locked all Tabs you want you have to 'Configure-> Save settings' while in the 'Configuration -> Options -> Operatin: Save on exit - Directories ' is disabled.Steve Adams wrote:Thanks, Everybody.
Locking the tabs gives me the behavior that I want, but I wish I did not have to lock each of them manually each time.
Then each time you open TC the saved 'locked Tabs' will appear.
Or you could (by rightclick on the Tabs) 'save Tabs to file' and make one or more Button(s) with comand appendtabs tabfile.tab to append your saved Tabs or opentabs tabfile.tab to replace all tabs with the saved one. (See Totalcmd Help 3.m. Folder Tabs)
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
- Steve Adams
- Junior Member
- Posts: 22
- Joined: 2004-08-07, 22:55 UTC
- Location: Florida USA
How do you think should TC decide wich dir to lock, if they are always different?Steve Adams wrote:but I want a dynamic
one: different for each session.
If you have say: 20 different dirs to lock you could create an own buttonbar for them and open each with opentabs tabfile.tab.
Isn't that enough?
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
- Steve Adams
- Junior Member
- Posts: 22
- Joined: 2004-08-07, 22:55 UTC
- Location: Florida USA
The only reason I say "locked" is that is the only
way I know of to keep them from changing at each
dir change.
If I have directories that I normally use, I just
make a button for them.
I thought it would be neat to have dir tabs, instead
of using the dir history to find the dir I was at 3 dirs ago.
way I know of to keep them from changing at each
dir change.
If I have directories that I normally use, I just
make a button for them.
I thought it would be neat to have dir tabs, instead
of using the dir history to find the dir I was at 3 dirs ago.
Thanks,
Steve (TC 6.5)
Steve (TC 6.5)
Sorry, I think I do not get the idea.Steve Adams wrote:The only reason I say "locked" is that is the only
way I know of to keep them from changing at each
dir change.
I guess: You want to move through the directorys and at a certain point you want that the following changes are not affect the current Tab but open a new one?
Then you should use [ctrl] + [up] to change the dir as Hacker said. It opens the Dir under the cursor in a new Tab. If you use [shift]+[ctrl] + [up] this Tab opens in the other pane.
If not, please try to clarify your wish.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
- Steve Adams
- Junior Member
- Posts: 22
- Joined: 2004-08-07, 22:55 UTC
- Location: Florida USA
Well, I thought it would be nice for a new tab to be created everytime I change dirs in a pane; tabs that stay there
thru the whole TC session. (doing the same thing as
the dir history drop-down list).
When I use tabs now (unless I lock them), changing
dirs in the pane overwrites my previous tab to a new
dir, and I want to keep the old tabs of visited dirs until the
end of the session. Exactly the same as dir history drop-down list, only it's always visible.
thru the whole TC session. (doing the same thing as
the dir history drop-down list).
When I use tabs now (unless I lock them), changing
dirs in the pane overwrites my previous tab to a new
dir, and I want to keep the old tabs of visited dirs until the
end of the session. Exactly the same as dir history drop-down list, only it's always visible.
Thanks,
Steve (TC 6.5)
Steve (TC 6.5)
I think it is a very special wish.
This way I would have at least 30 or 40 Tabs in each pane, till I end the TC session.
When Tabs were introduced the behavior of locked Tabs was: everytime you change a dir in the locked Tab it was created a new one - regardless you had already opened one Tab with this dir.
There were many complaints about it so you could now configure the behavior (a bit).
But maybe the [Ctrl]+[up] is a workaroud for you?
sheepdog
This way I would have at least 30 or 40 Tabs in each pane, till I end the TC session.
When Tabs were introduced the behavior of locked Tabs was: everytime you change a dir in the locked Tab it was created a new one - regardless you had already opened one Tab with this dir.
There were many complaints about it so you could now configure the behavior (a bit).
But maybe the [Ctrl]+[up] is a workaroud for you?
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
... together with Configuration - Options - Folder Tabs - Ctrl+Up opens new tab in foreground.maybe the [Ctrl]+[up] is a workaroud for you?
And you might also want to remap something like Ctrl-Alt-Enter to cm_OpenDirInNewTab in Configuration - Options - Misc.
HTH
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.
hmmm... I tried those settings but it did not change current (always open directories in new tabs creating this high tab number chaos) tab behavior. I tried all different setting (1-3) btw.Sheepdog wrote:right click on the tab and activate 'lock this tab'. In the Wincmd.ini you could configure, wihat should happen if you change the dir.Totalcmd help: 4.b. Wincmd.ini wrote:LockedTabChange=1 What to do when changing dir on locked tab:
0: always create a new tab
1: re-use tab with same dir
2: re-use first unlocked tab
3: re-use last unlocked tab
TabEnterDirChange=1 What should happen when users presses ENTER on a dir on a locked tab?
0: nothing
1: open new tab
2: ask user
hope that helps
sheepdog
what am I doing wrong?
rob
rob
Look at Help->about Total Commander where it searches the ini file. Maybe you made the changes in the wrong place?Mbwana wrote:hmmm... I tried those settings but it did not change current (always open directories in new tabs creating this high tab number chaos) tab behavior. I tried all different setting (1-3) btw.
what am I doing wrong?
Or are you useing an old version? Latest version is 6.03.
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams