CR: Tmux Config Remediation — Implementation
Remediation Plan
Phase 1: Critical Fixes
| # | Task | File |
|---|---|---|
1.1 |
Change TPM path from |
tmux.conf:46 |
1.2 |
Change |
keybindings.conf:97 |
Phase 2: High Priority Fixes
| # | Task | File |
|---|---|---|
2.1 |
Remove |
enhanced-keybindings.conf:106 |
2.2 |
Update 6 stale |
enhanced-keybindings.conf:9-16 |
2.3 |
Remove hardcoded clipboard bindings (lines 113-117) |
enhanced-keybindings.conf |
Phase 3: Medium Priority Fixes
| # | Task | File |
|---|---|---|
3.1 |
Remove duplicate |
base.conf |
3.2 |
Remove duplicate |
enhanced-statusline.conf |
3.3 |
Change |
enhanced-statusline.conf:14 |
Pre-Change Checklist
-
Current tmux config working
-
Git status clean
-
No active sessions depend on specific keybindings
Current State Capture
# Verify current working state
tmux source-file ~/.config/tmux/tmux.conf
tmux list-keys | wc -l
tmux show-options -g | grep -E "status-interval|focus-events"
Post-Change Validation
Functionality Tests
-
tmux source-file ~/.config/tmux/tmux.conf- no errors -
Prefix+Ftriggers main-vertical layout -
Prefix+Ncreates new session -
Prefix+/opens help popup -
Alt+wopens new window at~/atelier -
Copy/paste works (select text,
yto yank,Prefix+Pto paste)
Verification Commands
# Reload and check for errors
tmux source-file ~/.config/tmux/tmux.conf
# Verify N is now new-session only
tmux list-keys | grep "bind-key.*N"
# Verify F is main-vertical
tmux list-keys | grep "bind-key.*F"
# Check status interval
tmux show-options -g status-interval
Optional Enhancements (Future)
Not in scope for this CR, but recommended for future:
| Enhancement | Description |
|---|---|
Modern tmux 3.2+ features |
Add |
Replace tmux-copycat |
Unmaintained - consider |
Status script caching |
Cache system metrics results to reduce subprocess overhead |