aboutsummaryrefslogtreecommitdiff
path: root/tmux/.tmux.conf
diff options
context:
space:
mode:
authorgyoder <70408179+gyoder@users.noreply.github.com>2025-06-25 18:55:21 -0600
committergyoder <70408179+gyoder@users.noreply.github.com>2025-06-25 18:55:21 -0600
commit2c4d46645387277317e502b258475801f3472333 (patch)
treeaa45ababefe9430c84184f816c492cec683fa787 /tmux/.tmux.conf
parent7748e0113f3c9334cbb592b8bbd0043b1d930d65 (diff)
added sesh
Diffstat (limited to 'tmux/.tmux.conf')
-rw-r--r--tmux/.tmux.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
index 2f3fc73..68efb09 100644
--- a/tmux/.tmux.conf
+++ b/tmux/.tmux.conf
@@ -36,6 +36,21 @@ bind -n M-7 select-window -t 7
bind -n M-8 select-window -t 8
bind -n M-9 select-window -t 9
+bind-key "T" run-shell "sesh connect \"$(
+ sesh list --icons | fzf-tmux -p 80%,70% \
+ --no-sort --ansi --border-label ' sesh ' --prompt '⚡ ' \
+ --header ' ^a all ^t tmux ^g configs ^x zoxide ^d tmux kill ^f find' \
+ --bind 'tab:down,btab:up' \
+ --bind 'ctrl-a:change-prompt(⚡ )+reload(sesh list --icons)' \
+ --bind 'ctrl-t:change-prompt(🪟 )+reload(sesh list -t --icons)' \
+ --bind 'ctrl-g:change-prompt(⚙️ )+reload(sesh list -c --icons)' \
+ --bind 'ctrl-x:change-prompt(📁 )+reload(sesh list -z --icons)' \
+ --bind 'ctrl-f:change-prompt(🔎 )+reload(fd -H -d 2 -t d -E .Trash . ~)' \
+ --bind 'ctrl-d:execute(tmux kill-session -t {2..})+change-prompt(⚡ )+reload(sesh list --icons)' \
+ --preview-window 'right:55%' \
+ --preview 'sesh preview {}'
+ )\""
+
# Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'