tmux-stare
----------
stare (Ukrainian /stɐˈrɛ/ for "something old") - yet another session manager for tmux.
This plugin was heavily inspired by tmux-continuum and tmux-resurrect, but
I didn't like that they loaded all previous sessions. I wanted a way to
load sessions selectively, so I made this plugin.
FEATURES
- Automatic saving of sessions
- Selective session recerrect
- Picker for interacting with your sessions
INSTALLATION
# with tpm
set -g @plugin 'olexsmir/tmux-stare'
set -g @stare-pick 'o'
REQUIREMENTS
- tmux (tested on 3.6a)
- fzf (tested on 0.67.0)
OPTIONS
# Bind for opening picker to select and restore sessions.
# Default: '' (not set)
set -g @stare-pick 'o'
# Bind for manually triggering save of all sessions.
# Default: 'C-s'
set -g @stare-save 'C-s'
# Start action. 'pick' opens picker on start, 'last' restores last session
# Default: ''
set -g @stare-start ''
# Auto-save interval in minutes. Set to '0' to disable.
# Default: '10'
set -g @stare-interval '10'
# Directory where session data live.
# Default: '$HOME/.local/share/tmux/stare/'
set -g @stare-dir '$HOME/.local/share/tmux/stare/'
# Space-separated list of processes allowed to be resurrected.
# - set to 'false' to disable command resurrection
# - set to ':all:' to resurrect everything
# Default: 'vi vim nvim man less more tial htop btop claude opencode copilot pi'
set -g @stare-processes 'emacs man'
FUTURE
Things I might add in the future.
- Resurrect of vim with ':mksession'
- Keep content of panes
LICENSE
tmux-stare is licensed under MIT.