(I'm not allowed to post links, but google for fzf github)
So I want a macro to call it from far. This almost works:
Code: Select all
Macro {
description="Fuzzy Find";
area="Shell";
key="CtrlF12";
action=function()
local restore = win.GetCurrentDir()
win.SetCurrentDir(APanel.UNCPath)
local dir = io.popen("fzf"):read()
win.SetCurrentDir(restore)
mf.print(dir)
end;
}