I used ctrl-6 to jump between two files and compare these two files page by page, But each time when I switch back, the page content is changed. That is, a new page with previous cursor line in the middle of screen now is shown instead.
Is there a way to keep the page position in the screen unchanged when I switched back.
Thanks a lot!
May I suggest using tabs (C-PgUp and C-PgDn to switch)?
You can always start by doing C-wsC-^C-wT
Otherwise see this odler answer of mine for hints on restoring cursor positions: