tmux-resurrect is a tmux plugin that persists the entire tmux environment—open windows, pane layouts, running commands, working directories—so you can restore it exactly after a reboot or tmux restart. With simple keybindings (e.g. prefix + Ctrl-s to save, prefix + Ctrl-r to restore), it serializes state to text files under ~/.tmux/resurrect/ (or similar). When restoring, tmux-resurrect reopens windows, panes, and can reissue commands (for supported ones) so your session feels “never quit.” It optionally supports hooks to restore Vim/Neovim sessions or other running programs, though some commands or states may not fully recover in all cases. The plugin is widely appreciated as a productivity booster: you don’t have to manually recreate your tmux layout or sessions after a crash or reboot. Users should note that command restoration has limitations (some running processes cannot be resurrected fully) and configuration (restoration lists, hooks, process inclusion) may require tweaking.

Features

  • Saves tmux sessions: windows, panes, layout, working directory of each pane
  • Restores all of the above after system restart or tmux shutdown, so workflow is preserved
  • Optional support to restore vim / neovim sessions within panes
  • Key bindings: prefix + Ctrl-s to save, prefix + Ctrl-r to restore
  • Ability to configure what gets saved/restored (e.g. additional programs beyond defaults) and location of save files
  • Tested working on Linux, macOS (OS X), and Cygwin

Project Samples

Project Activity

See All Activity >

Categories

System

License

MIT License

Follow Tmux Resurrect

Tmux Resurrect Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Tmux Resurrect!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Registered

2025-09-19