The commonly used pager less
can be started with the option -S
, prevents it from breaking lines.
One can then press the right and left arrow keys to scroll horizontally.
Since the lines can be quite long, I was wondering whether there a keystroke or a way to jump to the end of the line.
I know that one can increase the step size less
uses for scrolling.
The problem is, that less
doesn't stop to scroll horizontally at the end of the line.
Therefore just setting a high numerical value for the step size (scrolling increment) would usually put the view beyond the end of the line.
Best Answer
From the manual:
These escape sequences were introduced in
less
version 487, released on 2016-10-25.