Page 1 of 1

✅ Ctrl+Down = Alt+F8

Posted: 2023-02-24, 16:00 UTC
by Fla$her
We don't have cm_ShowCmdLineHistory as in Double Commander.
Therefore, I want to use the settings in wincmd.ini to get the behavior for Ctrl+Down similar to performing the inconvenient Alt+F8, i.e. without output of the last command.

Re: Ctrl+Down = Alt+F8

Posted: 2023-02-26, 15:09 UTC
by petermad
Have you tried pressing Ctrl+Down twice ?

Re: Ctrl+Down = Alt+F8

Posted: 2023-02-26, 15:20 UTC
by Fla$her
Sure. But there are problems with this, too. The list may not be open.

Re: Ctrl+Down = Alt+F8

Posted: 2023-02-26, 19:23 UTC
by petermad
Fla$her wrote: 2023-02-26, 15:20 UTC Sure. But there are problems with this, too. The list may not be open.
:?: :?:

Re: Ctrl+Down = Alt+F8

Posted: 2023-02-26, 19:30 UTC
by Fla$her
Sometimes it stops on the last command, and the second press doesn't work.
In any case, it needs to work like Alt+F8.

Re: Ctrl+Down = Alt+F8

Posted: 2023-02-26, 20:15 UTC
by petermad
Sometimes it stops on the last command, and the second press doesn't work
I haven't noticed - I'll keep an eye out for it.

Re: Ctrl+Down = Alt+F8

Posted: 2023-04-09, 19:19 UTC
by Fla$her
petermad wrote: 2023-02-26, 20:15 UTCI haven't noticed
I found the cause. If you previously entered some initial characters of the file names of the current folder or the commands of the history list in the command line, then when you repeatedly press Ctrl+Down the selection remains on the remaining right side of the name or command, listing the lines suitable for the filter. As a result, the drop-down list isn't open, which is very annoying. If this is a feature, it is more harmful than useful.

By the way, I want to draw attention to the fact that neither in the help, nor in Keyboard.txt there is no description of the behavior for Ctrl+Down.

Re: Ctrl+Down = Alt+F8

Posted: 2023-04-11, 13:29 UTC
by ghisler(Author)
This happens when Ctrl+Down gets intercepted by auto-complete/auto-append. Unfortunately I could not find a workaround, the hotkey just never reaches my key handler.

Re: Ctrl+Down = Alt+F8

Posted: 2023-04-11, 19:43 UTC
by Fla$her
ghisler(Author) wrote: 2023-04-11, 13:29 UTCthe hotkey just never reaches my key handler.
But Alt+F8 doesn't have such a problem. Why can't Ctrl+Down be made the same?
And there is no such problem in DC, Ctrl+Down works stably there.

Re: Ctrl+Down = Alt+F8

Posted: 2023-04-14, 13:59 UTC
by ghisler(Author)
You can disable auto-complete/auto-append if it bothers you. This function catches the hotkey before TC can see it. Since auto-complete/auto-append doesn't use Alt+F8, it is passed down to the control.

Re: Ctrl+Down = Alt+F8

Posted: 2023-04-14, 14:29 UTC
by Fla$her
2ghisler(Author)
OK, I set AutoComplete=1. Thanks.
Is it possible in the next version to add a key or an internal command so that immediately when you press Ctrl + Down for the first time, a list appears, as in DC?

Re: Ctrl+Down = Alt+F8

Posted: 2023-04-17, 07:22 UTC
by JOUBE
Fla$her wrote: 2023-04-14, 14:29 UTC...add a key or an internal command so that immediately when you press Ctrl + Down for the first time, a list appear...
That would be very good.

JOUBE

Re: Ctrl+Down = Alt+F8

Posted: 2023-05-07, 05:06 UTC
by JOUBE
This (Total Commander 11.00 beta 1, history.txt) ...

Code: Select all

03.05.23 Release Total Commander 11.00 beta 1
[...]
01.05.23 Added: New internal commands [...], cm_ShowCmdLineHistory, [...]
[...]
... with this (wincmd.ini) ...

Code: Select all

[Shortcuts]
C+DOWN=cm_ShowCmdLineHistory
works as suggested.

@ghisler(Author): Thanks for implementation

JOUBE