Page 1 of 1
[REQ] Hotkey for Copy tab to other panel command
Posted: 2006-12-05, 09:40 UTC
by gbo
I used to use this hotkey in Midnight Commander [Alt-O -> Copy tab to other panel] and although this command exists in TC7 (right click on a tab) I see no way to map this hotkey to a shortcut [Alt-O] as it seems it is not part of the Keyboard remapping tool commands AFAIS?
Could it be added, please
TIA
Posted: 2006-12-05, 10:20 UTC
by StickyNomad
Hm, indeed there doesn't seem to exist a cm_command to copy the tab. I never missed it so far because I get along well with CTRL+SHIFT+CursorUp.
But I'm not against adding a command for this
Posted: 2006-12-05, 10:43 UTC
by gbo
StickyNomad wrote:Hm, indeed there doesn't seem to exist a cm_command to copy the tab. I never missed it so far because I get along well with CTRL+SHIFT+CursorUp.
I knew CTRL+CursorUp but not CTRL+SHIFT+CursorUp thanks for the tip it is better than nothing although I still request to add it.
Bye
Re: [REQ] Hotkey for Copy tab to other panel command
Posted: 2022-07-13, 09:04 UTC
by Retko
+1 for this command. (Yep I know, 15 years later
)
Re: [REQ] Hotkey for Copy tab to other panel command
Posted: 2022-07-13, 09:47 UTC
by Stefan2
See text file "TOTALCMD.INC":
CTRL+CursorUp
cm_OpenDirInNewTab=3003;Open dir under cursor in a new tab (((if there is a file under cursor > just double the current tab in same panel)))
CTRL+SHIFT+CursorUp
cm_OpenDirInNewTabOther=3004;Open dir under cursor in a new tab in other window (((if there is a file under cursor > double the tab but to other panel)))
Add keyboard shortcut Hotkey to an em_ or cm_ command
* Open "Configuration > Options > Misc."
* by "()Hotkey" choose a free key combo as keyboard shortcut (here
Alt-O)
* For Command: click on the magnifying glass
* Choose the wanted command by double clicking on it. (here
cm_OpenDirInNewTabOther)
(To filter type em_ or cm_ and maybe more letters or just an keyword like 'copy')
* Apply with the green check mark button!!!
* Close the options dialog with [OK]
* Click on OK
((( taken from https://ghisler.ch/board/viewtopic.php?p=388478#p388478 )))
- - -
History.txt wrote:New in Total Commander 6.0 final (17.11.03):
- cm_OpenDirInNewTab internal message to open dir under cursor in new tab
Re: [REQ] Hotkey for Copy tab to other panel command
Posted: 2022-07-13, 11:10 UTC
by petermad
You can use these two em_commands (put them in your usercmd.ini file) to copy or move the current tab to the other panel:
Code: Select all
[em_copytab]
cmd=cm_FocusTrg,cm_OpenNewTab,cm_FocusTrg,cm_MatchSrc,cm_FocusTrg
menu=Copy current folder tab to opposite panel
[em_movetab]
cmd=cm_FocusTrg,cm_OpenNewTab,cm_FocusTrg,cm_MatchSrc,cm_CloseCurrentTab,cm_FocusTrg
menu=Move current folder tab to opposite panel
Re: [REQ] Hotkey for Copy tab to other panel command
Posted: 2022-07-13, 14:25 UTC
by Retko
petermad wrote: ↑2022-07-13, 11:10 UTC
You can use these two em_commands (put them in your usercmd.ini file) to copy or move the current tab to the other panel:
Code: Select all
[em_copytab]
cmd=cm_FocusTrg,cm_OpenNewTab,cm_FocusTrg,cm_MatchSrc,cm_FocusTrg
menu=Copy current folder tab to opposite panel
[em_movetab]
cmd=cm_FocusTrg,cm_OpenNewTab,cm_FocusTrg,cm_MatchSrc,cm_CloseCurrentTab,cm_FocusTrg
menu=Move current folder tab to opposite panel
Hi. This is great. I was actually able to make it work. Not exactly, but I used command you provided for moving. Made a screenshot where I have put it, for others. SO thank you
Image:
https://i.postimg.cc/pX0xmpp7/abc.jpg
Re: [REQ] Hotkey for Copy tab to other panel command
Posted: 2022-07-13, 14:40 UTC
by petermad
2
Retko
Good. It was implied that the commands should be used for a keyboard remapping or in a button.
I use them myself in my Extended Menu (see signature).
https://madsenworld.dk/tcmd/tabsmenu2.png