Skip to content

Instantly share code, notes, and snippets.

@iskeld
Created December 4, 2013 19:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iskeld/7793413 to your computer and use it in GitHub Desktop.
Save iskeld/7793413 to your computer and use it in GitHub Desktop.
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