Last active
January 30, 2018 23:21
-
-
Save Maximus5/c27ff6282cf43a8fe8e26f39fb4e5011 to your computer and use it in GitHub Desktop.
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
Macro | |
{ | |
area="Shell Info QView Tree"; | |
key="Esc"; | |
flags="EmptyCommandLine"; | |
description="Use Esc to toggle panels on/off"; | |
action = function() | |
-- Yes, we can switch to 'Desktop' screen, but it does not have command line | |
-- Keys("F12 0") | |
-- Hide keybar | |
if not (APanel.Visible or PPanel.Visible) then Far.KeyBar_Show(1) end | |
-- Toggle panels | |
Keys("CtrlO") | |
-- Show keybar | |
if not (APanel.Visible or PPanel.Visible) then | |
Far.KeyBar_Show(2) | |
else | |
-- Force ConEmu to update BG image | |
Plugin.Call("4b675d80-1d4a-4ea9-8436-fdc23f2fc14b", 99) | |
end | |
end; | |
} | |
Macro | |
{ | |
area="Other"; | |
key="Esc"; | |
description="Use Esc to toggle panels on/off"; | |
action = function() | |
Keys("F12 1") | |
-- Force ConEmu to update BG image | |
Plugin.Call("4b675d80-1d4a-4ea9-8436-fdc23f2fc14b", 99) | |
end; | |
} |
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
Macro | |
{ | |
description="Scroll Panels or UserScreen"; | |
area="Shell"; | |
key="MsWheelUp"; | |
action=function() | |
if Area.Shell and (APanel.Visible or PPanel.Visible) then Keys("MsWheelUp") else Far.Window_Scroll(-3) end | |
end; | |
} | |
Macro | |
{ | |
description="Scroll Panels or UserScreen"; | |
area="Shell"; | |
key="MsWheelDown"; | |
action=function() | |
if Area.Shell and (APanel.Visible or PPanel.Visible) then Keys("MsWheelDown") else Far.Window_Scroll(3) end | |
end; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment