For reference, some Less options we're going to be using:
-S
, less doesn't wrap lines;-F
, less auto-exits if output less than a page-R
, less honors color control codes-X
, disables termcap. This is set by git by default, but it breaks scrolling for some reason
- Make sure you're using the most recent version of both software. (The versions that are compiled by Apple and included in macOS are non-standard.)