Save tmux status is possible?

349 Views Asked by At

Is it possible, in tmux, to "export" current session status? A list of windows and panes opened and/or something like that. Or, .. is possible to store session somewhere, and re-open it next time tmux will be opened?

2

There are 2 best solutions below

1
On

There is a tmux-resurrect plugin that enables *manual* saving and restoring of tmux sessions.

tmux-continuum is a separate plugin built on top of tmux-resurrect and enables auto-saving of tmux sessions (every 15 minutes by default). There is also the optional setting to restore last saved session when tmux is started.

I recommend setting up and playing with tmux-resurrect first.

1
On

Checkout tmux-continuum over on GitHub. I think that's what you're looking for.