How can I modify Ctrl+Home (go to parent) to single Home-key?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
BobbyNeal
New Member
New Member
Posts: 1
Joined: 2023-07-07, 02:18 UTC

How can I modify Ctrl+Home (go to parent) to single Home-key?

Post by *BobbyNeal »

Greetings! Currently, the hotkey to navigate to the parent directory ('..') is configured as Ctrl + Home. How can I modify it to be simply the Home key? As of now, pressing Home directs me to the initial item in the folder, which corresponds to the first folder or file beneath '..'.
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: How can I modify?

Post by *Hacker »

Hi BobbyNeal,
Well, in the default configuration, Home navigates to "..", and Ctrl-Home does the same (because Home was pressed), so if it's different for you, you must have redefined those shortcuts yourself. To redefine them back, go to 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.
User avatar
petermad
Power Member
Power Member
Posts: 16027
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: How can I modify?

Post by *petermad »

By default both Home and Ctrl+Home goes to the [..] entry.

Are you sure you have not remapped the Home key yourself via "Options" -> "Misc." -> "Redefine horkeys (keyboard remapping)" - you can click the small button wit a down arrow to see all user assigned hotkeys.

Notice that the command cm_GoToFirstEntry does NOT take you to [..], but takes you to the first folder OR file. My guess is that you have remapped the Home key to cm_GoToFirstEntry.

Check your wincmd.ini file whether you have a section [Shortcuts] with the entry: HOME=cm_GoToFirstEntry - if you do, then just delete that entry and restart TC.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
skroslak
Junior Member
Junior Member
Posts: 4
Joined: 2013-12-13, 17:48 UTC

Re: How can I modify Ctrl+Home (go to parent) to single Home-key?

Post by *skroslak »

hi, a bit different question, but related to this, since I found this thread while searching for a solution to my idea.
I'd like to have left and right arrow keys, taking me to the first and last item within folder.
right is easy, I've remapped it to "cm_GoToLast"
left I can't figure out, how it could behave like home key press is behaving, closest is the "cm_GoToFirstEntry", but I want it to go to "..", so it behaves exactly like when I press home. Is it possible?
User avatar
white
Power Member
Power Member
Posts: 5785
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: How can I modify Ctrl+Home (go to parent) to single Home-key?

Post by *white »

skroslak wrote: 2023-10-27, 21:31 UTC I'd like to have left and right arrow keys, taking me to the first and last item within folder.
right is easy, I've remapped it to "cm_GoToLast"
left I can't figure out, how it could behave like home key press is behaving, closest is the "cm_GoToFirstEntry", but I want it to go to "..", so it behaves exactly like when I press home. Is it possible?
Try this:
ghisler(Author) wrote: 2023-09-23, 08:59 UTC There is a better solution: Use the option
SpecialCursorMovement=1
in wincmd.ini section [Configuration]
There are more options, just look for SpecialCursorMovement in the help section 4b, N-Z.
User avatar
petermad
Power Member
Power Member
Posts: 16027
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: How can I modify Ctrl+Home (go to parent) to single Home-key?

Post by *petermad »

2skroslak
how it could behave like home key press is behaving, closest is the "cm_GoToFirstEntry", but I want it to go to "..", so it behaves exactly like when I press home. Is it possible?
Make an em_command like this in your usercmd.ini file:

Code: Select all

[em_GoToFirstEntry]
cmd=cm_GoToFirstEntry,cm_GotoPrev
and then assign em_GoToFirstEntry to the key you want.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
skroslak
Junior Member
Junior Member
Posts: 4
Joined: 2013-12-13, 17:48 UTC

Re: How can I modify Ctrl+Home (go to parent) to single Home-key?

Post by *skroslak »

works like a charm, thanks!
Post Reply