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 » Wed 28 Aug, 2019 07:45

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: 5916
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 23 times
Been thanked: 228 times

Scroll keyboard shortcut

Post by Shmuel » Wed 28 Aug, 2019 08:17

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 » Sat 31 Aug, 2019 05:42

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”