Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/niveksoft/tmux-sessionizer
Zsh plugin for easily creating tmux sessions for your directories.
https://github.com/niveksoft/tmux-sessionizer
zimfw zsh zsh-plugin
Last synced: 26 days ago
JSON representation
Zsh plugin for easily creating tmux sessions for your directories.
- Host: GitHub
- URL: https://github.com/niveksoft/tmux-sessionizer
- Owner: niveksoft
- License: mit
- Created: 2024-10-22T21:36:50.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-15T04:38:17.000Z (28 days ago)
- Last Synced: 2025-01-15T06:23:02.039Z (28 days ago)
- Topics: zimfw, zsh, zsh-plugin
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tmux Sessionizer
Tmux sessionizer as seen from ThePrimeagen.
## Prerequisites
- [tmux](https://github.com/tmux/tmux)
- [fzf](https://github.com/junegunn/fzf)
- [fd](https://github.com/sharkdp/fd) (optional, falls back to `find`)## Installation
1. Add the following to your `~/.zimrc`:
```zsh
zmodule nikevsoft/tmux-sessionizer
```2. Install the module:
```zsh
zimfw install
```## Configuration
You can customize the module by setting these variables in your `.zshrc` before the module is loaded:
```zsh
# Set the directories to search (default: $HOME/Developer)
TMUX_SESSIONIZER_DIRS="$HOME/Developer $HOME/Work"# Change the default keybinding (default: Ctrl+f)
TMUX_SESSIONIZER_BIND="C-f"# Set the directory search depth (default: 2)
TMUX_SESSIONIZER_DEPTH=3 # Will search 3 levels deep
```## Usage
- Use the `ts` command directly
- Press ` Ctrl+f` (or your custom keybinding) to open the session selector in a popup window