diff options
Diffstat (limited to '.config/tmux')
| -rw-r--r-- | .config/tmux/tmux.conf | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 3275731..04618aa 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -91,29 +91,29 @@ bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xsel - # ─── Floating Terminal ──────────────────────────────────────────────────────── -bind-key -n -N 'Toggle popup window' M-g if-shell -F '#{==:#{session_name},popup}' { +bind-key -n -N 'Toggle popup window' M-g if-shell -F '#{m:popup-*,#{session_name}}' { detach-client } { display-popup -d "#{pane_current_path}" \ - -xC -yC -w 80% -h 75% \ - -E 'tmux attach-session -t popup || tmux new-session -s popup' + -xC -yC -w 80% -h 75% \ + -E "~/.config/tmux/popup.sh" } - + # ─── Sesh ───────────────────────────────────────────────────────────────────── set -g detach-on-destroy off bind -N "last-session (via sesh)" L run-shell "sesh last" bind-key T run-shell "sesh connect \"$( - sesh list --icons | fzf-tmux -p 80%,70% \ + sesh list --icons | grep -v '^popup-' | fzf-tmux -p 80%,70% \ --no-sort --ansi --border-label ' sesh ' --prompt '⚡ ' \ --header ' ^a all ^t tmux ^g configs ^x zoxide ^d kill ^f find' \ --bind 'tab:down,btab:up' \ - --bind 'ctrl-a:change-prompt(\uf0e7 )+reload(sesh list --icons)' \ - --bind 'ctrl-t:change-prompt(\uf2d2 )+reload(sesh list -t --icons)' \ - --bind 'ctrl-x:change-prompt(\uf013 )+reload(sesh list -z --icons)' \ - --bind 'ctrl-d:execute(tmux kill-session -t {2..})+change-prompt(\uf1f8 )+reload(sesh list --icons)' \ - --bind 'ctrl-f:change-prompt(\uf002 )+reload(fd -H -d 2 -t d . ~)' \ + --bind 'ctrl-a:change-prompt(\uf0e7 )+reload(sesh list --icons)' \ + --bind 'ctrl-t:change-prompt(\uf2d2 )+reload(sesh list -t --icons)' \ + --bind 'ctrl-x:change-prompt(\uf013 )+reload(sesh list -z --icons)' \ + --bind 'ctrl-d:execute(tmux kill-session -t {2..})+change-prompt(\uf1f8 )+reload(sesh list --icons)' \ + --bind 'ctrl-f:change-prompt(\uf002 )+reload(fd -H -d 2 -t d . ~)' \ --preview 'sesh preview {}' \ --preview-window 'right:55%' )\"" |