Scroll keyboard shortcut

You want to talk about Far Manager, but don't know where to turn?
Post Reply
User avatar
michaelang
Posts: 17
Joined: Sat 17 Jan, 2009 08:48

Scroll keyboard shortcut

Post by michaelang »

Has been looking for keyboard shortcut to scroll up or down for the file listing panel. Same function as the mouse scroll wheel effect. Can anyone advise? Thanks.
Last edited by michaelang on Wed 28 Aug, 2019 08:27, edited 1 time in total.
Shmuel
Posts: 6819
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 528 times

Scroll keyboard shortcut

Post by Shmuel »

Try something like this:

Code: Select all

Macro {
  description="describe me";    -- edit description
  area="Shell"; key="some key"; -- edit key
  action=function() Keys("MsWheelDown") end;
}
User avatar
michaelang
Posts: 17
Joined: Sat 17 Jan, 2009 08:48

Scroll keyboard shortcut

Post by michaelang »

Thanks Shmuel.
This is what I did

Code: Select all

Macro {
  description="scroll up";
  area="Shell"; key="CtrlShiftUp";
  action=function() Keys("MsWheelUp Down") end;
}
Macro {
  description="scroll down";
  area="Shell"; key="CtrlShiftDown";
  action=function() Keys("MsWheelDown Up") end;
}
and saved to
%APPDATA%\Far Manager\Profile\Macros\scripts\scroll.lua
Post Reply

Return to “General Discussions”