A Bash script for listing and selecting Tmux sessions using
fzf-tmux
in a pop-up window. Requires
Tmux 3.2+ for native pop-up support.
- Lists all available Tmux sessions and displays them in an interactive
fzf-tmux
pop-up for selection. - Dynamically adjusts the pop-up's height and width.
bash
tmux >= v3.2
fzf-tmux
Clone this repository in a location of your choosing e.g. ~/opt
:
git clone [email protected]:fasterius/tmux-fzf-session.git ~/opt/tmux-fzf-session
Bind the script in your ~/.tmux.conf
:
bind-key f run-shell ~/opt/tmux-find-sessions/tmux-find-sessions.sh
Then press the bound key (e.g. prefix + f
) to bring up the fzf-powered
session picker.
The Solarized light colours are used by default, but they can be changed inside the script as desired.