Change tmux session manager to sesh

closes #4
This commit is contained in:
Alexander Navarro 2024-05-26 11:16:43 -04:00
parent 0b0dbed47a
commit 1810d3bfbc
7 changed files with 41 additions and 44 deletions

View file

@ -15,6 +15,7 @@ bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "wl-copy"
set -sg escape-time 0
set-option -g focus-events on
set-option -g renumber-windows on
set -g detach-on-destroy off # don't exit from tmux when closing a session
# Yazi need this config to show image preview
set -g allow-passthrough on
@ -88,7 +89,6 @@ set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'sainnhe/tmux-fzf'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin '27medkamal/tmux-session-wizard'
## Plugin Config
@ -108,7 +108,9 @@ set -g @resurrect-processes 'vi vim nvim man "~pnpm dev->pnpm dev *"'
TMUX_FZF_LAUNCH_KEY="w"
TMUX_FZF_OPTIONS="-p -w 80% -h 60% -m"
# Tmux Management
set -g @session-wizard 'f'
bind-key "f" run-shell "fzf-tmux-sessions"
bind-key "F" run-shell -b "$HOME/.config/tmux/plugins/tmux-fzf/scripts/session.sh switch"
# bind-key "F" run-shell -b "$HOME/.config/tmux/plugins/tmux-fzf/scripts/window.sh switch"