A fuzzy terminal popup to manage and create tmux sessions using fzf.
Just a simple and fast tmux workflow helper with a clean, minimal popup UI. It opens fzf popups where you can:
- View and switch sessions quickly
- Preview windows in the selected session
- Delete a session
- Create or jump to a session from a directory
tmux3.2 or higher (fordisplay-popup)fzf- Common UNIX tools (
awk,bash,find,tree)
- Add plugin to your
~/.tmux.conf:
set -g @plugin 'vimlinuz/tmux-sm'- Press
prefix+Ito install.
- Clone the repository:
git clone https://github.com/vimlinuz/tmux-sm ~/.tmux/plugins/tmux-sm- Add to your
~/.tmux.conf:
run-shell ~/.tmux/plugins/tmux-sm/main.tmux- Reload tmux config:
tmux source-file ~/.tmux.conf- Press
prefix+jto open the session-manager - Press
prefix+ito open the sessionizer
Add to your ~/.tmux.conf to change default keys:
set -g @session_manager_key 'k' # session-manager key (default: 'j')
set -g @sessionizer_key 'j' # sessionizer key (default: 'i')Inside the popup:
- Type to search - Fuzzy find sessions by name
- Enter - Switch to selected session
- Ctrl-i - Open sessionizer
- Ctrl-d - Delete selected session
- Ctrl-l - Change the active window in selected session to next
- Ctrl-h - Change the active window in selected session to previous
- Esc - Close without switching
Inside the popup:
- Type to search - Fuzzy find directories under
$HOME - Enter - Create/switch to session named from directory basename
- If the session exists, it switches/attaches to it
- Esc - Close without creating/switching
# session-manager key binding (default: 'j')
set -g @session_manager_key 's'
# sessionizer key binding (default: 'i')
set -g @sessionizer_key 'j'
# If you want to use sessionizer without <prefix> (e.g. Alt+i), you can do so by prepending -n:
set -g @sessionizer_key '-n M-i'
# session-manager popup height (default: '30%')
set -g @session_manager_height '40%'
# session-manager popup width (default: '40%')
set -g @session_manager_width '50%'
# sessionizer popup height (default: '60%' )
set -g @sessionizer_height '70%'
# sessionizer popup width (default: '60%' )
set -g @sessionizer_width '80%'Default popup size:
-
Width of session-manager:
40% -
Height of session-manager:
30% -
Width of sessionizer:
60% -
Height of sessionizer:
60%
To change popup size, set options in your ~/.tmux.conf as shown in above examples.
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 + j or prefix + i conflicts with existing bindings, change them as shown in above examples.
Found a bug or have a feature idea? Feel free to open an issue or submit a PR.
MIT License - see LICENSE.
⭐ Star this repo if it improved your tmux workflow.

