Skip to main content
added tags
Link
1.61803
  • 1.3k
  • 2
  • 15
  • 23
Rollback to Revision 1 - Edit approval overridden by post owner or moderator
Source Link
1.61803
  • 1.3k
  • 2
  • 15
  • 23

How to change `less`pager key bindings

I'd like to swap RETURN (scroll forward N forward N lines, default 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.

How to change `less` key bindings

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.

How to change pager key bindings

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.

How to change pager`less` key bindings

I'd like to swap RETURN (scroll forward Nforward N lines, defaultdefault 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.

How to change pager key bindings

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.

How to change `less` key bindings

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.

Source Link
1.61803
  • 1.3k
  • 2
  • 15
  • 23
Loading