Tmux sessionizer as seen from ThePrimeagen.
- Add the following to your
~/.zimrc
:
zmodule nikevsoft/tmux-sessionizer
- Install the module:
zimfw install
You can customize the module by setting these variables in your .zshrc
before the module is loaded:
# 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
- Use the
ts
command directly - Press
<prefix> Ctrl+f
(or your custom keybinding) to open the session selector in a popup window