chore: Updated tmux config 6838b264
Steve Simkins · 2025-07-27 15:50 1 file(s) · +25 −8
tmux/.tmux.conf +25 −8
5 5
6 6
# action key
7 7
unbind C-b
8 -
set -g prefix `
9 -
bind ` send-prefix
8 +
set -g prefix C-q
9 +
set-option -g repeat-time 0
10 10
11 11
set -g @tpm-clean 'u'
12 12
bind-key x kill-pane # skip "kill-pane 1? (y/n)" prompt
13 13
set -g detach-on-destroy off  # don't exit from tmux when closing a session
14 14
15 15
# Plugins
16 -
set -g @plugin 'tmux-plugins/tpm'
17 -
set -g @plugin 'tmux-plugins/tmux-sensible'
16 +
set -g @tpm_plugins '
17 +
tmux-plugins/tpm
18 +
tmux-plugins/tmux-sensible
19 +
christoomey/vim-tmux-navigator
20 +
'
18 21
# set -g @plugin 'joshmedeski/t-smart-tmux-session-manager'
19 -
set -g @plugin 'christoomey/vim-tmux-navigator'
20 22
# set -g @t-fzf-prompt '󰍉 '
21 23
22 -
bind-key "T" display-popup -E "sesh connect \"$(
23 -
  sesh list -i | gum filter --limit 1 --placeholder "Choose a session" --height 50 --prompt="> " --indicator.foreground="2" --match.foreground="2"
24 +
# bind-key "T" display-popup -E "sesh connect \"(
25 +
#  sesh list -i | gum filter --limit 1 --placeholder "Choose a session" --height 50 --prompt="> " --indicator.foreground="2" --match.foreground="2"
26 +
# )\""
27 +
28 +
bind-key "T" run-shell "sesh connect \"$(
29 +
  sesh list --icons | fzf-tmux --reverse -p 80%,70% \
30 +
    --no-sort --ansi --border-label ' sesh ' --prompt '󰘧  ' \
31 +
    --header '  ^a all ^t tmux ^g configs ^x zoxide ^d tmux kill ^f find' \
32 +
    --bind 'tab:down,btab:up' \
33 +
    --bind 'ctrl-a:change-prompt(⚡  )+reload(sesh list --icons)' \
34 +
    --bind 'ctrl-t:change-prompt(🪟  )+reload(sesh list -t --icons)' \
35 +
    --bind 'ctrl-g:change-prompt(⚙️  )+reload(sesh list -c --icons)' \
36 +
    --bind 'ctrl-x:change-prompt(📁  )+reload(sesh list -z --icons)' \
37 +
    --bind 'ctrl-f:change-prompt(🔎  )+reload(fd -H -d 2 -t d -E .Trash . ~)' \
38 +
    --bind 'ctrl-d:execute(tmux kill-session -t {2..})+change-prompt(⚡  )+reload(sesh list --icons)' \
39 +
    --preview-window 'right:55%' \
40 +
    --preview 'sesh preview {}'
24 41
)\""
25 42
26 43
bind-key b set-option status
72 89
set-option -g status-position "top"
73 90
set-option -g status-style bg=colour0,fg=default
74 91
set-option -g status-justify centre
75 -
set-option -g status-left '#[bg=default,fg=default,bold]#{?client_prefix,,    }#[bg=default,fg=colour3,bold]#{?client_prefix,    ,}'
92 +
set-option -g status-left '#[bg=default,fg=default,bold]#{?client_prefix,,  󰘧  }#[bg=default,fg=colour3,bold]#{?client_prefix,  󰘧  ,}'
76 93
set-option -g status-right '#S'
77 94
set-option -g window-status-format '#[bg=colour0,fg=colour2] 󰝣 #W '
78 95
set-option -g window-status-current-format '#[bg=colour0,fg=colour3] 󰝤 #W#{?window_zoomed_flag,  , }'