Sometimes I'm scrolling up a log file and need to switch sessions, so open the session menu with prefix-s. This causes tmux to forget the window's scroll position, so that when I return it's at the bottom of the log file.
Is there any way to keep scroll position when switching session?
Best Answer
use
less
to read your log file ? Or usescreen
? I think that could be 2 solutions.