Skip to content

fasterius/tmux-find-sessions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

tmux-fzf-session.sh

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.

Features

  • 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.

Dependencies

  • bash
  • tmux >= v3.2
  • fzf-tmux

Installation

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

Usage

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.

Colours

The Solarized light colours are used by default, but they can be changed inside the script as desired.

About

A fzf-powered helper script for listing and selecting Tmux sessions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages