I have a file with really long lines that I am trying to view in
less. If I am near the top of the file, I can arrow right or use
-S (to disable line wrapping) and then press down arrow or
e and it will move down by one line. But if I am near the end of the file, this doesn't work. It just says
I noticed that there is an
ESC-SPACE shortcut to move by a page even if near the end of the file, but
ESC-e doesn't work. So I have to use
ESC-SPACE and then
UP ARROW many times (being careful not to go too far!) to move down a line.
I also tried searching for a newline with
/\n but that just searched for the letter
less --version says it is compiled with POSIX regular expressions, maybe that is the problem).
Is there a simpler way to move down by a single line in less. I really would like for
DOWN ARROW to "just work" even if it is near the end of the file.