Re: shortcut for "Sort by Modify Time"



On Tue, 7 Jun 2022 08:56:06 +0200 Fourhundred Thecat via mc <mc gnome org> wrote:
I normally use "Sort by Name" in mc panels, but frequently need to
switch to "Sort by Modify Time" from the menu selection. But this is
quite tedious:

   F9 -> Sort Order -> Modify Time

Is there any shortcut for this?
If not, can I define my own shortcut?

perhaps Alt+m ?
That does not seem to be used for anything.

Yes, you can.
Create a file ~/.config/mc/mc.keymap with following content:

[panel]
SortByName = alt-n
SortByMTime = alt-m


-- 
Andrew


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]