chore(tmux): switch to sesh session manager

This commit is contained in:
Stefan Imhoff
2024-03-02 14:55:14 +01:00
parent cf71095230
commit c55926c7d9

View File

@@ -33,7 +33,7 @@ set -g status-interval 1
# Set focus events for Vim
set -g focus-events on
# Allow passthrough color excape sequences (Base16)
# Allow passthrough color escape sequences (Base16)
set -g allow-passthrough 1
# History
@@ -125,16 +125,16 @@ bind P run "tmux paste-buffer"
set -g @thumbs-command 'echo -n {} | pbcopy'
# bind-key "T" run-shell "sesh connect $(
# sesh list -tz | fzf-tmux -p 55%,60% \
# --no-sort --border-label ' sesh ' --prompt '⚡ ' \
# --header ' ^a all ^t tmux ^x zoxide ^f find' \
# --bind 'tab:down,btab:up' \
# --bind 'ctrl-a:change-prompt(⚡ )+reload(sesh list)' \
# --bind 'ctrl-t:change-prompt(🪟 )+reload(sesh list -t)' \
# --bind 'ctrl-x:change-prompt(📁 )+reload(sesh list -z)' \
# --bind 'ctrl-f:change-prompt(🔎 )+reload(fd -H -d 2 -t d -E .Trash . ~)'
# )"
bind-key "T" run-shell "sesh connect $(
sesh list -tz | fzf-tmux -p 55%,60% \
--no-sort --border-label ' sesh ' --prompt '⚡ ' \
--header ' ^a all ^t tmux ^x zoxide ^f find' \
--bind 'tab:down,btab:up' \
--bind 'ctrl-a:change-prompt(⚡ )+reload(sesh list)' \
--bind 'ctrl-t:change-prompt(🪟 )+reload(sesh list -t)' \
--bind 'ctrl-x:change-prompt(📁 )+reload(sesh list -z)' \
--bind 'ctrl-f:change-prompt(🔎 )+reload(fd -H -d 2 -t d -E .Trash . ~)'
)"
# ========= Plugins =========
@@ -156,7 +156,7 @@ set -g @plugin 'carlocab/tmux-nvr'
set -g @plugin 'jbnicolai/tmux-fpp' # f
set -g @plugin 'nhdaly/tmux-scroll-copy-mode'
set -g @plugin 'wfxr/tmux-fzf-url' # u
set -g @plugin 'joshmedeski/t-smart-tmux-session-manager'
# set -g @plugin 'joshmedeski/t-smart-tmux-session-manager'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'joshmedeski/tmux-nerd-font-window-name'
set -g @plugin 'fcsonline/tmux-thumbs'