4

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?

1 Answer 1

0

use less to read your log file ? Or use screen ? I think that could be 2 solutions.

3
  • I can't use less as these are usually live logs using tail -f. As for screen, this is a bit annoying, but not annoying enough to leave tmux!
    – mahemoff
    Dec 6, 2013 at 14:34
  • :D screen is so powerfull, but I definetly understand your problem using it :D well good luck with that.
    – Kiwy
    Dec 6, 2013 at 14:36
  • I'm sure screen's fine too. It's more that I never got really into it and Tmux seems to be a good choice for the future.
    – mahemoff
    Dec 9, 2013 at 19:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .