Another tmux session manager. Adapted from ThePrimeagen's script with a few tweaks and extra inspiration from other plugins.
For this plugins to work, you should have installed:
- zsh
- fd
- fzf
- zoxide
- eza
Using TMUX Plugin Manager
set -g @plugin 'aelesbao/tmux-ctrlp'Press prefix + I to install the plugin.
Clone the repo:
git clone https://github.com/aelesbao/tmux-ctrlp ~/.tmux/plugins/tmux-ctrlpAdd this line to the bottom of your .tmux.conf:
run ~/.tmux/plugins/tmux-ctrlp/ctrlp.tmuxReload your tmux environment:
source-file ~/.tmux.conf| Binding | Option | Description |
|---|---|---|
<prefix> C-p |
@ctrlp_project_bind |
Fuzzy find across your defined workspace projects |
<prefix> C-s |
@ctrlp_session_bind |
Fuzzy find across existing sessions with preview |
You can change the default bindings adding the following to your tmux config:
# Remap in case you use <C-s> as you tmux prefix and want to send double C-s to
# the terminal
set -g @ctrlp_session_bind 's'TODO.
Copy the example config to ~/.config/tmux/ctrlp.config.zsh and use it as a
reference on how to setup the project folder and workspaces.