wip: pre-split snapshot

This commit is contained in:
Prad Nukala committed 2026-10-14 13:31:37 -04:00
1 parent b4f74342ff
commit ab29365a3d
21 files changed
+321 -65

No files matched your search

+7 -2
View File
@@ -197,7 +197,8 @@ set -g @plugin 'eduwass/tmux-palette'
# shortcut labels) lives in ~/.config/tmux-palette/.
set -g @palette-key 'C-Space'
# pj's task runner as a palette (pj-palette): quick actions + project tasks,
# each run in a bottom split. prefix + t (Ghostty ctrl+shift+p / +space).
# one-offs in a bottom split, dev servers / compose up in a background
# <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"
# Direct launchers, the kitty ctrl+shift chords (Ghostty sends prefix + key).
@@ -205,7 +206,11 @@ bind -N "Project tasks (pj)" t run-shell "~/.config/tmux/plugins/tmux-palette/bi
bind -N "Yazi in a new window" y new-window -c "#{pane_current_path}" "exec yazi"
bind -N "Neovim in a new window" e new-window -c "#{pane_current_path}" "exec nvim"
bind -N "Lazygit popup" g display-popup -E -w 90% -h 90% -d "#{pane_current_path}" lazygit
bind -N "omp in a right split (33%)" a split-window -h -f -l 33% -c "#{pane_current_path}" "exec omp"
# omp in a background session <session>:omp shown in a popup (pj-palette --bg,
# listed under Running in the tasks palette). Inside any such popup, prefix + a
# hides it instead, so ctrl+shift+a toggles.
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.