FarManager
FarManager copied to clipboard
Introduce configuration for fast file search (Alt+Char)
I use Far in Windows and Midnight Commander (MC) in Linux. Fast file search works in Far and MC differently. It would be really greate if in Far there will be an configuration option to initiate by fast file search by Alt+S
, like in MC.
if in Far there will be an configuration option to initiate by fast file search by
Alt+S
, like in MC.
In fact Far already has such option but in general form: I mean macros. So you can take this for example: https://github.com/FarGroup/FarManager/blob/master/extra/Addons/Macros/AltSearch.lua After adapted to your need:
Macro {
description="AltS to search by name (like MC)";
area="Shell"; key="AltS";
action = function()
Keys('Alt<')
end;
}
Thank yo so much! It works!
@johnd0e can you please suggest, how to block opening filw quick search by any other Alt+Char excepting Alt+S?
Try this:
Macro {
description="Suppress FastFind function";
area="Shell"; key="/[LR]Alt./";
priority=40;
action = function() end;
}
Edited (thank you @shmuz)
@johnd0e , it should be key="/.Alt./"
or key="/[LR]Alt./"
.