Skip to main content

tmux-continuum — Auto Save

Automatically saves the tmux environment at regular intervals and can restore on startup.

Status on This Server

Installed and active. Configured in ~/.tmux.conf.

Configuration

~/.tmux.conf
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @continuum-restore 'on'
OptionValuePurpose
@continuum-restoreonAuto-restore last state when tmux starts
@continuum-save-interval15 (default)Save every 15 minutes

How It Works

  • Every 15 minutes, continuum triggers a resurrect save
  • When tmux starts, if @continuum-restore is on, it automatically restores the last saved state
  • No manual action needed after reboot — just open tmux

Relationship to tmux-resurrect

Continuum depends on resurrect. The save interval controls how often continuum calls resurrect's save. Manual saves via Ctrl+Space Ctrl+s still work independently of the interval.

Backup Archive

On this server, each auto-save is also copied by the resurrect post-save hook to:

~/github/common-config/tmux/gc-sg-m16/continuum/<date>/

This creates a dated archive of all saves with automatic 60-day cleanup.