-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmuxa.tmux.conf
More file actions
38 lines (34 loc) · 2.01 KB
/
Copy pathmuxa.tmux.conf
File metadata and controls
38 lines (34 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# muxa — tmux integration snippet
#
# Source from your ~/.tmux.conf with:
# source-file ~/path/to/muxa.tmux.conf
# …or copy-paste the blocks you want.
# ---------------------------------------------------------------------------
# Status line — per-pane agent glyph (⚙ / · / ! / ✗ / ∅ / …)
# ---------------------------------------------------------------------------
set -g status-interval 2
set -g status-right "#(muxa status-line --pane #{pane_id}) | #[fg=white]%H:%M"
set -g status-right-length 140
# ---------------------------------------------------------------------------
# prefix + s → muxa watch in a floating popup (agent-aware session picker)
# Enter opens prompt composer; empty Enter again attaches.
#
# If you use tmux-resurrect (binds prefix + C-s), leave that alone and rely
# on the built-in `prefix + w` (window tree) as the stock fallback.
# ---------------------------------------------------------------------------
bind-key s display-popup -E -w 90% -h 85% "muxa watch"
# Focus an agent pane first. The dashboard then sends collaboration requests
# as that agent, only to peers in the same tmux window.
bind-key D display-popup -E -w 95% -h 90% "muxa dashboard"
# ---------------------------------------------------------------------------
# prefix + q → muxa peek: each pane's live screen, dimmed, under a box
# carrying its agent's state, summary, latest prompt, and
# latest response. A pane's digit jumps there; q/Esc closes.
#
# Replaces tmux's stock display-panes — peek is a superset of it, so there is
# no reason to make you reach for a modifier to get the better version.
# The flags are load-bearing: peek repaints the window's pane layout inside
# the popup, so it needs the popup borderless (-B) and pinned to the client
# origin at full size — an inset would slide every box off its pane.
# ---------------------------------------------------------------------------
bind-key q display-popup -B -E -w 100% -h 100% -x 0 -y 0 "muxa peek"