tmux-sessionizer manages your tmux-sessions.
Once you hit tmux-sessionizer, search directory(project) from fzf, you can start new project with new tmux session!
You can manage tmux sessions on a per-project basis!
For more details, see the demo.
And this project is inspired https://github.com/theprimeagen/tmux-sessionizer.
Thank you, ThePrimeagen.
tmux-sessionizer provides four commands.
- tmux-sessionizer
tmux-sessionizerLaunches the interactive session manager.
This command reads directories specified in the .tmux-sessionizer config file, displays them using fzf, and allows you to select one. Once selected, tmux-sessionizer will either attach to the existing tmux session for that project or create a new one.
- tmux-sessionizer list
tmux-sessionizer listDisplays the list of existing tmux-sessions defined and when you hit enter attach the target session.
tmux-sessionizer.mov
You must write .tmux-sessionizer, config file.
default=~/personal, ~/projects, ./ # comma separated, both absolute/relative are acceptable.
tmux-sessionizer searches directories and displays them using fzf, but it does not search all directories.
To specify which directories should be searched, you need to create a configuration file called .tmux-sessionizer. This file can be created per project.
When reading configuration files, the one in the current directory takes precedence over the one in your home directory.
You can install with homebrew.
brew install TlexCypher/tap/tmux-sessionizerAlso then, you can build from source.
go install github.com/TlexCypher/tmux-sessionizerAny type of contribution is welcome.