Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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