tmux-sm
đ Fork
đ Quick Links
đ Project Details
- Primary Language: None
- Languages Used: Shell
- License: MIT License
- Created: April 09, 2026
- Last Updated: April 09, 2026
đ About
tmux-session-manager
A fuzzy terminal popup to manage and create tmux sessions using fzf.


Just a simple and fast tmux workflow helper. It opens popups using fzf where you can:
- View and switch sessions quickly
- Preview windows in the selected session
- Delete a session with confirmation
- Create or jump to a session from a directory
Requirements
tmux3.2 or higher (fordisplay-popup)fzf- Common UNIX tools (
awk,bash,find,tree)
Installation
Via TPM (Tmux Plugin Manager)
- Add plugin to your
~/.tmux.conf:
- Press
prefix+Ito install.
Manual Installation
- Clone the repository:
- Add to your
~/.tmux.conf:
- Reload tmux config:
Usage
Default Key Bindings
- Press
prefix+sto open the session switcher - Press
prefix+jto open the session creator
Custom Key Bindings
Add to your ~/.tmux.conf to change default keys:
set -g @session_switcher_key 'S' # Switcher key (default: 's')
set -g @session_create_key 'J' # Creator key (default: 'j')
Legacy option names are still supported:
Session Switcher Controls
Inside the switcher popup:
- Type to search - Fuzzy find sessions by name
- Enter - Switch to selected session
- Ctrl-O - Open session creator
- Ctrl-D - Delete selected session (with
y/nconfirmation) - Esc - Close without switching
Session Creator Behavior
Inside the creator popup:
- Type to search - Fuzzy find directories under
$HOME - Enter - Create/switch to session named from directory basename
- If tmux is not running, it starts a new tmux session
- If the session exists, it switches/attaches to it
- Esc - Close without creating/switching
Customization
Available Options
# Session switcher key binding (default: 's')
set -g @session_switcher_key 's'
# Session creator key binding (default: 'j')
set -g @session_create_key 'j'
# Popup width (default: '80%')
set -g @session_popup_width '80%'
# Popup height (default: '60%')
set -g @session_popup_height '60%'
# Session switcher header (default: dynamic header with key hints)
set -g @session_switcher_header ''
# Session creator header (default: dynamic header with key hints)
set -g @session_creator_header ''
Popup Size (Current Default)
Default popup size:
- Width:
80% - Height:
60%
To change popup size, set options in your ~/.tmux.conf:
Custom Header Text
You can override popup header text for both views:
set -g @session_switcher_header 'ķ° My Sessions | Ctrl-O new | Ctrl-D delete'
set -g @session_creator_header 'ķąŦ Project Picker'
If these options are empty, the plugin uses dynamic default headers with key hints.
Troubleshooting
Popup does not appear?
- Make sure you have tmux 3.2+:
tmux -V - Check popup command support:
tmux list-commands | grep popup
fzf not found?
- Install fzf:
brew install fzforapt install fzf - Or follow the official fzf installation guide
tree not found in preview?
- Install
treepackage for your OS - Or remove/adjust the preview command in
scripts/sessionizer
Key binding conflicts?
If prefix + s or prefix + j conflicts with existing bindings, change them:
Contributing
Found a bug or have a feature idea? Feel free to open an issue or submit a PR.
License
MIT License - see LICENSE.
Star this repo if it improved your tmux workflow.
âšī¸ Fork Information
This is a fork of another repository.