Skip to main content
replaced http://apple.stackexchange.com/ with https://apple.stackexchange.com/
Source Link

Since Darwin lacks lesskey (see herehere and here) I installed less 458 via MacPorts and added the bindings using the defaults path for my system. lesskey will take $HOME/.lesskey and output $HOME/.less. You can also use LESSKEY or LESSKEY_SYSTEM.

~ $ vi .lesskey
#command
\n        forw-screen
\40       forw-line
~ $ lesskey
~ $ ls -d .less*
.less       .lesshst    .lesskey

Since Darwin lacks lesskey (see here and here) I installed less 458 via MacPorts and added the bindings using the defaults path for my system. lesskey will take $HOME/.lesskey and output $HOME/.less. You can also use LESSKEY or LESSKEY_SYSTEM.

~ $ vi .lesskey
#command
\n        forw-screen
\40       forw-line
~ $ lesskey
~ $ ls -d .less*
.less       .lesshst    .lesskey

Since Darwin lacks lesskey (see here and here) I installed less 458 via MacPorts and added the bindings using the defaults path for my system. lesskey will take $HOME/.lesskey and output $HOME/.less. You can also use LESSKEY or LESSKEY_SYSTEM.

~ $ vi .lesskey
#command
\n        forw-screen
\40       forw-line
~ $ lesskey
~ $ ls -d .less*
.less       .lesshst    .lesskey
Source Link
1.61803
  • 1.3k
  • 2
  • 15
  • 23

Since Darwin lacks lesskey (see here and here) I installed less 458 via MacPorts and added the bindings using the defaults path for my system. lesskey will take $HOME/.lesskey and output $HOME/.less. You can also use LESSKEY or LESSKEY_SYSTEM.

~ $ vi .lesskey
#command
\n        forw-screen
\40       forw-line
~ $ lesskey
~ $ ls -d .less*
.less       .lesshst    .lesskey