Skip to content

Instantly share code, notes, and snippets.

@refaim
Created March 26, 2013 23:38
Show Gist options
  • Save refaim/5250305 to your computer and use it in GitHub Desktop.
Save refaim/5250305 to your computer and use it in GitHub Desktop.
Macro {
area="Shell";
key="PgUp";
flags="DisableOutput";
description="Scroll console buffer up if panels hidden";
action = function()
if not APanel.Visible and not PPanel.Visible then
Keys('CtrlAltPgUp')
else
Keys('PgUp')
end
end;
}
Macro {
area="Shell";
key="PgDn";
flags="DisableOutput";
description="Scroll console buffer down if panels hidden";
action = function()
if not APanel.Visible and not PPanel.Visible then
Keys('CtrlAltPgDn')
else
Keys('PgDn')
end
end;
}
Macro {
area="Shell";
key="CtrlO";
flags="DisableOutput";
description="Scroll console buffer to bottom before panel showing";
action = function()
if not APanel.Visible and not PPanel.Visible then
Keys('CtrlAltEnd')
end
Keys('CtrlO')
end;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment