Replace tmux-sessionx with the tmux-palette sessions palette

This commit is contained in:
Prad Nukala committed 2026-10-16 11:10:43 -04:00
1 parent 34edcc2446
commit 87a8aa3177
1 file changed
+7 -9
+7 -9
View File
@@ -189,8 +189,8 @@ set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'joshmedeski/tmux-nerd-font-window-name' set -g @plugin 'joshmedeski/tmux-nerd-font-window-name'
set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum' set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'omerxx/tmux-sessionx' # prdlk fork of eduwass/tmux-palette: adds custom palettes' `query` item.
set -g @plugin 'eduwass/tmux-palette' set -g @plugin 'prdlk/tmux-palette-plugin'
# tmux-palette: Raycast-style command palette on ctrl+space (no prefix; needs # tmux-palette: Raycast-style command palette on ctrl+space (no prefix; needs
# bun). User config (commands ported from kitty, cyberdream theme, Ghostty # 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, # 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 # one-offs in a bottom split, dev servers / compose up in a background
# <session>:<task> session popup. prefix + t (Ghostty ctrl+shift+p / +space). # <session>:<task> 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). # Direct launchers, the kitty ctrl+shift chords (Ghostty sends prefix + key).
# Programs are exec'd so the tab icon is the program's. # 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 \ 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"' '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, # Persistence: continuum saves every 10 min (resurrect: prefix + C-s save,
# prefix + C-r restore) and restores the last save when the server starts, # prefix + C-r restore) and restores the last save when the server starts,
# i.e. the first Ghostty window after login or reboot. # i.e. the first Ghostty window after login or reboot.