Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
FAR Manager macro which runs ConEmu tasks inside FAR current working directory.
local ConEmu = "4b675d80-1d4a-4ea9-8436-fdc23f2fc14b"
local function RunTask(TaskName)
callString = string.gsub("Task(\"" .. TaskName .. "\",\"" .. APanel.Path .. "\")", "\\", "\\\\");
Plugin.Call(ConEmu, callString)
end
Macro { area="Shell"; key="CtrlAlt1"; action = function() RunTask("VSConsole") end; }
Macro { area="Shell"; key="CtrlAlt2"; action = function() RunTask("Powershell") end; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.