Revert .tmux.conf to minimal baseline (closes #1) #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "1-revert-to-minimal-config"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #1
Summary
Restores
.tmux.confto the exact 22-line state fromabeb159(initial commit). Forward revert — no history rewrite.Changes
All additions stacked across
5fd40bb,df57813,11a3cda,8a8fcf5are removed from.tmux.conf:if-shellwrappers (status-right battery, clipboard)after-split-windowandpane-exitedauto-rebalance hooksrenumber-windows on</>swap-window bubble-sort binds + jump-to-back/front scriptsautomatic-rename offFinal file diff:
.tmux.conf-89 / +3 lines. Result is byte-identical toabeb159:.tmux.conf.Why: the layered additions produced bugs that outweighed their value.
Ctrl-b clanded new windows at the end of the stack instead of next to the current window.pane-exitedrebalance hook fought manual pane layouts — closing one pane shuffled the rest.</>swap binds needed a follow-up kludge (jump-to-back/front shell scripts) because the first version broke at the boundaries.Going back to the 22-line baseline so additions can be re-introduced deliberately, one per PR, only if they earn their keep.
Test Plan
cd ~/tmux-custom && git pull forgejo maintmux source-file ~/.tmux.confCtrl-b cstill works (stock tmux behavior — will still append to end until a deliberate follow-up ticket adds-a)rm -rf ~/.tmux/pluginsto remove TPM leftoversReview Checklist
.tmux.confis byte-identical toabeb159:.tmux.conf(verify withgit diff abeb159 HEAD -- .tmux.conf→ no output)reset --hardor force-push.tmux.conftouchedRelated Notes
5fd40bb(TPM + plugins),df57813(OS detection),11a3cda(</>fix),8a8fcf5(boundary insert)abeb1591-fix-window-move-insertis untouched and can be cleaned up separately if desired🤖 Generated with Claude Code
abeb159) 5a9beea8e1PR #2 Review
DOMAIN REVIEW
Tech stack: tmux dotfile (shell-adjacent config). Single-file forward revert.
Diff verification against PR claims:
abeb159: Diff math checks out. +3/-89,.tmux.confonly. The three additions are (a) the simplifiedset -g status-right "#(pmset -g batt | grep -Eo '[0-9]+%%')"line replacing the OS-detectionif-shellpair, (b) the baresetw -g mode-keys viat EOF (the old file had the same line but it was swept out as part of the larger copy-mode block removal, then re-added clean). Context lines at top (status-interval 5,status-left "#S ",MouseDown1StatusLeft choose-session) are preserved unchanged. No smuggled re-additions.changed_files: 1, only.tmux.conf. Confirmed."/%/c,after-split-window+pane-exitedrebalance hooks,renumber-windows on,</>swap-window binds,@continuum-restore,@resurrect-capture-pane-contents,automatic-rename off, catppuccin window-status format overrides, TPM init line. All accounted for.mergeable: true, forward revert commit on branch1-revert-to-minimal-config. History preserved.Ctrl-b cappend, pane-exited layout fight, opaque plugin state, swap bind boundary kludge). Good.BLOCKERS
None.
NITS
pmset -g battinstatus-right, which is macOS-only. On Linux hosts this silently produces an empty status-right. This is inherent toabeb159(the revert target), not introduced by this PR, so it is correctly out of scope. Flagging as discovered scope: consider a follow-up ticket to either (a) dropstatus-rightentirely from the baseline, or (b) re-introduce a minimal OS-aware battery line as its own deliberate PR per the "earn their keep" philosophy in the PR body. Not required for merge.\ No newline at end of file. Pre-existing condition, matchesabeb159, no action needed.Ctrl-b cstill works (stock tmux behavior — will still append to end until a deliberate follow-up ticket adds-a)" correctly acknowledges the original bug #1 symptom is only partially addressed by the revert (it removes the plugin-layer complexity but not the stock tmux append behavior). Consider filing that follow-up ticket now so it doesn't fall off.SOP COMPLIANCE
1-revert-to-minimal-config).tmux.conftouchedPROCESS OBSERVATIONS
Clean, surgical revert. Exemplary PR hygiene for a dotfile change: explicit byte-identity claim, verifiable diff math, bug-driven rationale, and a stated philosophy (one deliberate addition per follow-up PR) that prevents the same layering problem from recurring. Change failure risk: near zero — this file is developer-local, no CI/deploy surface. Deployment frequency impact: neutral. Documentation gap: minor — the
pmset-on-Linux quirk and the not-yet-fixedCtrl-b cappend behavior should each become their own backlog ticket so the scope stays tracked perfeedback_discovered_scope_always_tracked.VERDICT: APPROVED
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.