Author Topic: Command reference and how to change keyboard shortcuts  (Read 209 times)

animanta

  • Newbie
  • *
  • Posts: 3
    • View Profile
Hi, I've been loving MC. But I need to be able to do some things in order to be able to switch from my current file manager.
One of them is to be able to find the reference, the list to the internal command codes, since I cannot find the associated command in the keyboard shortcuts configuration window to, for instance, change the keyboard shortcuts to sort files by columns, like described in this part of the docs in the attached image.

Nor can I find how to change the keyboard shortcut to focus on the command bar at the top. I'm used to Ctrl+L, but that opens the Application Log.

Any insights?  ;D

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4720
    • View Profile
    • Multi Commander
Re: Command reference and how to change keyboard shortcuts
« Reply #1 on: Yesterday at 14:35:06 »
You mean you want to move input focus to the command line field ? so you can type command into that ?
You can assign hotkey for that in "core" module.. "Change input focus to the commandline field"
you can also configure so it automatically switch to that if you start tying . with or without holding some modifier key like ctrl/alt.. that is done in explorer panel settings

And holding shift while export list to file in customized key. it will include the internal commands code for the commands.

Change key for sorting is currently not customizable.. But you can create a Custom Command what that calls MC.Explorer.Sort and then assign that command to the hotkey you want

animanta

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Command reference and how to change keyboard shortcuts
« Reply #2 on: Yesterday at 20:07:19 »
You mean you want to move input focus to the command line field ? so you can type command into that ?

Mathias, thank you for personally showing up and congratulations for your work! I really don't know how I missed that.

Quote
you can also configure so it automatically switch to that if you start tying . with or without holding some modifier key like ctrl/alt.. that is done in explorer panel settings

Nice too! That one ChatGPT and Gemini got it right; I regret it deeply these two models are not quite acquainted with MC just yet.

Quote
And holding shift while export list to file in customized key. it will include the internal commands code for the commands.


Duly noted! We could have these in a section of a documentation, what do you think?

Quote
Change key for sorting is currently not customizable.. But you can create a Custom Command what that calls MC.Explorer.Sort and then assign that command to the hotkey you want

Ahh, that's sad. Especially because these are the ones I meant to change:

Quote
[L]  [Reserved].................................................Ctrl+F1              - ExplorerPanel.0
[L]  [Reserved].................................................Ctrl+F2              - ExplorerPanel.0
[L]  [Reserved].................................................Ctrl+F3              - ExplorerPanel.0
[L]  [Reserved].................................................Ctrl+F4              - ExplorerPanel.0
[L]  [Reserved].................................................Ctrl+F5              - ExplorerPanel.0
I'll read more of the Docs so I can learn more about custom commands. But can you just advance whether it is currently possible to craft custom commands to "sort by name", "sort by extension", "sort by file size" and "sort by modification date"?

And thanks! :)