Skip to content

feat(tmux): C-a w pane picker popup - #26

Open
tomfordweb wants to merge 2 commits into
mainfrom
feat/tmux-pane-picker
Open

feat(tmux): C-a w pane picker popup#26
tomfordweb wants to merge 2 commits into
mainfrom
feat/tmux-pane-picker

Conversation

@tomfordweb

Copy link
Copy Markdown
Owner

C-a w was dead: unbind w killed tmux's default choose-tree, and the replacement bind was commented out and pointed at a script inside the gitignored tpm plugin dir (untracked, one machine only, clean_plugins bait).

New bin/tmux-pane-picker — an fzf popup shaped like the C-a q workmux dashboard:

  • every pane in every session, current session first, workmux sidebar panes filtered out (^h toggles them back, TMUX_PANE_PICKER_HIDE overrides the pattern)
  • live capture-pane preview anchored to the bottom of the output
  • enter jump, tab mark, ^x/^⌥x kill pane/window, ^s/⌥s type into the marked panes from a centered box that recalls past sends
  • refuses to kill the pane or window hosting the picker itself
  • fzf colors generated from rice/palette.json via a new rice/templates/fzf-colors.tmpl, so they cannot drift back to the stale catppuccin hex the old script carried

Also carries the pre-existing Waybar fixes commit that was sitting unpushed on main.

Verified live in a throwaway session: jump, broadcast send to marked panes, staged send without Enter, pane and window kills with the self-guards holding, sidebar toggle, and no state files left behind.

Every pane in every session, live capture-pane preview anchored to the
bottom of the output. Marked panes can be killed (^x/^⌥x) or typed into
(^s/⌥s) from a centered send box with recall of past sends. workmux
sidebar panes are filtered out by default, ^h brings them back.

Replaces the tmux-window-modal script, which lived in the gitignored tpm
plugin dir: untracked, one machine only, and its bind was commented out.
fzf colors are generated from rice/palette.json by bin/rice-build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant