1 unstable release
0.1.0 | Dec 27, 2023 |
---|
#21 in #tmux-session
23KB
100 lines
tsm
tsm is a rust cli tool to manage tmux sessions. Switch to an existing session or create a new session.
Features
- Switch Session: Switch to an existing tmux session.
- Create Session: Create a new tmux session with specified name.
Requirements
Installation
-
Clone and build the project:
git clone https://github.com/halshar/tsm.git cargo build --release
-
Install using cargo
cargo install tsm
Usage
- Create a tmux binding in your
.tmux.conf
file# switch/create session # <prefix>+o will trigger the script bind-key o display-popup -E "tsm"
- Within an active tmux session, run the command
tsm
Acknowledgments
- This project utilizes the skim rust library
- This project is inspired from tmux-sessionizer
Contributions
Contributions are welcome! Please open an issue or pull request for any changes or suggestions.
License
This project is licensed under the GPLv3 License.
Dependencies
~13MB
~244K SLoC