From 87a8aa31776314b3a7d93cad9f12886321d65e14 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Fri, 16 Oct 2026 11:10:43 -0400 Subject: [PATCH] Replace tmux-sessionx with the tmux-palette sessions palette --- tmux.conf | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/tmux.conf b/tmux.conf index a4773a0..e00dc38 100644 --- a/tmux.conf +++ b/tmux.conf @@ -189,8 +189,8 @@ set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'joshmedeski/tmux-nerd-font-window-name' set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-continuum' -set -g @plugin 'omerxx/tmux-sessionx' -set -g @plugin 'eduwass/tmux-palette' +# prdlk fork of eduwass/tmux-palette: adds custom palettes' `query` item. +set -g @plugin 'prdlk/tmux-palette-plugin' # tmux-palette: Raycast-style command palette on ctrl+space (no prefix; needs # bun). User config (commands ported from kitty, cyberdream theme, Ghostty @@ -199,7 +199,11 @@ set -g @palette-key 'C-Space' # pj's task runner as a palette (pj-palette): quick actions + project tasks, # one-offs in a bottom split, dev servers / compose up in a background # : session popup. prefix + t (Ghostty ctrl+shift+p / +space). -bind -N "Project tasks (pj)" t run-shell "~/.config/tmux/plugins/tmux-palette/bin/tmux-palette.sh tasks" +bind -N "Project tasks (pj)" t run-shell "~/.config/tmux/plugins/tmux-palette-plugin/bin/tmux-palette.sh tasks" +# Session picker (tmux-sessions): other sessions, every window, zoxide and +# ~/.config dirs, rename/kill; a query that matches nothing becomes a new +# session in its zoxide match. prefix + o (Ghostty ctrl+shift+o). +bind -N "Sessions" o run-shell "~/.config/tmux/plugins/tmux-palette-plugin/bin/tmux-palette.sh sessions" # Direct launchers, the kitty ctrl+shift chords (Ghostty sends prefix + key). # Programs are exec'd so the tab icon is the program's. @@ -212,12 +216,6 @@ bind -N "Lazygit popup" g display-popup -E -w 90% -h 90% -d "#{pane_current_path bind -N "omp popup (toggle)" a if -F "#{@pj_task}" detach-client \ 'run-shell -b "~/.local/bin/pj-palette --bg #{q:session_name}:omp #{q:pane_current_path} omp"' -# sessionx: fuzzy session switcher/creator on prefix + o (Ghostty -# ctrl+shift+o). A query with no match goes to zoxide; uses fzf --tmux. -set -g @sessionx-bind 'o' -set -g @sessionx-zoxide-mode 'on' -set -g @sessionx-fzf-builtin-tmux 'on' - # Persistence: continuum saves every 10 min (resurrect: prefix + C-s save, # prefix + C-r restore) and restores the last save when the server starts, # i.e. the first Ghostty window after login or reboot.