- Add tui/main.go, tui/go.mod, tui/go.sum (Go + Bubble Tea TUI) - Add CLAUDE.md with project instructions - Add bin/trailboss-preview script - Update bin/trailboss, bin/trailboss-start, bin/trailboss-watch - Update PROGRESS.md and docs/plan/plan.md to reflect completion - Add .gitignore entries for build artifacts (tui/tui, bin/trailboss-tui) - Remove stray root main.go placeholder and ~ directory Bead-Id: tb-25j Co-Authored-By: Claude <noreply@anthropic.com>
18 lines
962 B
Bash
18 lines
962 B
Bash
# Trail Boss keybindings for tmux
|
|
# Source this from your ~/.tmux.conf: bind -r 'run-shell "cat /path/to/trail-boss/tmux.conf | sh -s %{pane_id}"'
|
|
# Or add the bindings directly.
|
|
|
|
# All bindings use prefix to avoid stealing keys from interactive sessions
|
|
# Default prefix is Ctrl-b; customize with: bind-key -n C-t set prefix
|
|
|
|
# Next (prefix + Tab) — jump to head-of-queue pane
|
|
bind-key -T prefix Tab run-shell "trailboss jump-next || tmux display 'Trail Boss: queue empty'"
|
|
|
|
# Skip (prefix + S) — skip current head, jump to next
|
|
bind-key -T prefix S run-shell "trailboss skip || tmux display 'Trail Boss: queue empty'"
|
|
|
|
# Popup (prefix + g) — show queue picker overlay
|
|
bind-key -T prefix g display-popup -E -w 80% -h 60% "trailboss popup"
|
|
|
|
# Return (prefix + B) — switch back to Trail Boss TUI pane from anywhere
|
|
bind-key -T prefix B run-shell "tmux switch-client -t trail-boss:dashboard 2>/dev/null || tmux display 'Trail Boss: dashboard not running'"
|