How to change pager key bindings
4
votes
2
answers
766
views
I'd like to swap
RETURN
(scroll forward N lines, default one window) and SPACE
(scroll forward N lines, default 1) in less
to get a for me more natural way to page through man
pages.
I saw years ago a colleague having this setup during a telnet
session to a router while he was skimming through a config file, so I don't actually know if this setting was on his SSH client, on the node or wherever.
Anyway, I'd like to achieve this to the most extent possible, be it locally or remotely.
I checked less
man page's key bindings section and found a reference to lesskey
.
Unfortunately, Darwin doesn't have this program.
Asked by 1.61803
(1291 rep)
Sep 13, 2015, 02:55 PM
Last activity: Jun 25, 2022, 06:08 PM
Last activity: Jun 25, 2022, 06:08 PM