Created
December 4, 2013 19:00
-
-
Save iskeld/7793413 to your computer and use it in GitHub Desktop.
FAR Manager macro which runs ConEmu tasks inside FAR current working directory.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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