A simple Cli to use Tmux to manage my projects
Assume you have a path (e.g. /home/username/projects/
) containing multiple
project folders inside. You want to spin up dedicated Tmux session for each
project and can easily jump/switch between these sessions.
Then this Cli tool is for you!
Run cargo install finter
to install it locally.
Assume you have multiple projects in path /home/username/projects/
:
finter /home/username/proejcts/
finter
, it will pop up all folders in your project path to selectI highly recommend you add a hotkey in .tmux.config
(like mine below), so in Tmux you can quickly
call the popup windown to create or switch Tmux sessions.
bind C-o display-popup -E "finter" # `prefix-key C-o` will popup finter
selection list
For the first time, finter
needs to know where your project folders exists,
so you need to config it:
finter [absolute-path1] [absolute-path2] ...
to define one or multiple
paths for this tool to search from. This command will save these paths in a
.finter
file in your home directoryNote. it supports ONLY absolute path, like /home/username/projects
, rather
than ~/projects
.
Once the path configration is done (you can verify the ~/.finter
file):
finter
in terminal. It will list all folders in the defined paths