Crates.io | finter |
lib.rs | finter |
version | 0.1.14 |
source | src |
created_at | 2023-09-05 15:11:07.418511 |
updated_at | 2024-06-29 13:07:06.701964 |
description | A Tmux plugin to quickly create session for folders in configured paths. |
homepage | |
repository | |
max_upload_size | |
id | 964420 |
size | 99,890 |
I use Tmux to handle sessions and windows in terminal. my Tmux config file.
Everything is cool, except one feature is missing...
I want to quickly list a bunch of folders and create a Tmux session with the selected folder name.
This creates sessions between folders/projects to isolate workspaces.
For instance, I hit a hotkey to pop up the list of folders/projects, I select one by fuzzy search, bang! the new session is created.
Finter is born to fulfill this demand.
finter /home/username/proejcts/
Finter
hotkey in the .tmux.conf
so it opens in a pop up (config
below)Prefix C-o
in Tmux to create or jump to that Tmux session
(screenshot below)bind C-o display-popup -E "finter" # `prefix-key C-o` will popup finter
selection list
You need to have Cargo command to install the tool
Run cargo install finter
to install it locally.
Check the source code or short description below.
For the first time, finter
needs to know where your 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