FAQs: Add keyboard shortcut Hotkey to em_ or cm_ commands

English support forum

Moderators: sheep, Hacker, Stefan2, white

Post Reply
User avatar
Stefan2
Power Member
Power Member
Posts: 3078
Joined: 2007-09-13, 22:20 UTC
Location: Europa

FAQs: Add keyboard shortcut Hotkey to em_ or cm_ commands

Post by *Stefan2 »

Add keyboard shortcut Hotkey to em_ or cm_ commands

To assign an keyboard shortcut key (hotkey) to an command,
utilize "Configuration > Options > Misc. >>> Redefine hotkeys (Keyboard remapping)".


* Open "Configuration > Options > Misc."

* by "()Hotkey" choose a free key combo as keyboard shortcut
--or--
* by "()Alias" enter a few digits-or-letters for to use in TCs command line box

* For Command: click on the magnifying glass
* Choose the wanted command by double clicking on it.
(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

Please note that there are programs which reserve hotkeys system-wide without asking the user!
So if your hotkey is suddenly not working (anymore) maybe some other application is stealing that key?



You can also manipulate the wincmd.ini's "[Shortcuts]" section manually by hand.

Examples:
C=Ctrl/Strg
A=Alt
S=Shift/Umschalt
CA=Ctrl+Alt
CS=Ctrl+Shift
CAS=Ctrl+Alt+Shift
Fx=F-functionskey
Add an Letter or Digit to complete the shortcut.

[Shortcuts]
;Enable 'F2'-key to start inline-rename mode, additional to origin 'Shift+F6'
F2=cm_RenameOnly
;Enable 'Ctrl+F' to start find-files, additional to origin 'Alt+F7'
C+F=cm_SearchFor
;Use 'Ctrl+O' to launch DOS-Box in current path
C+o=cm_ExecuteDOS
;Disable 'Alt+F4' (Exit, close program), load Help instead
A+F4=cm_Keyboard
;Ctrl+Shift+Alt+F5 erstelle Archive im selben Panel
CA+F5=cm_PackFiles
;Ctrl+Shift+Alt+F5 erstelle Archive im selben Panel und lösche Source
CAS+F5=cm_PackFiles
C+P=cm_CopyNamesToClip
CS+P=cm_CopyFullNamesToClip
AS+F4=em_ShellNewFileTemplates

[ShortcutsWin]
; Same as [shortcuts], but together with Windows key
CAS+P=em_CopyPathBaseNamesToClip ; press Win+Ctrl+Alt+Shift++P








My copy&paste template

To assign an keyboard shortcut hotkey to an command,
utilize "Configuration > Options > Misc. >>> Redefine hotkeys (Keyboard remapping)".
* choose an "Hotkey" combo
* click on the magnifying glass and choose an command
* apply with the green check mark button!!!
* [OK], [OK]
( More at >> https://ghisler.ch/board/viewtopic.php?p=388478#p388478 )


 
Post Reply