I've not found how to through a buffer line-by-line when the cursor is at
the top or bottom row of the visible file.

My use case is comparing two files, side-by-side in two windows. I want the
lines to match but when the cursor is at the top or bottom of the visible
rows using either ctrl-n/p or the up- and down-arrows moves by a chunk of
lines, not just one.

Reading this web page:
<https://www.masteringemacs.org/article/effective-editing-movement> I see:
"Fundamental Movement Keys
"The four fundamental movement keys are C-n, for
next logical line; C-p, for previous logical line; C-f for move forward by
character; and C-b for move backward by character."

C-f and C-b work just fine, but C-n and C-p work only with the displayed
lines, not for moving above or below them.

I'd like a pointer to learn how to move above and below the visible buffer
lines one at a time.

TIA,

Rich

Reply via email to