feat: reduce wrong-branch new-pane births in master-stack when a stack already exists #105
Labels
No labels
breaking-change
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
skip-release-notes
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/tmux-mosaic#105
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
In
master-stackwhenn > m, the stack already exists and the next pane semantically belongs at the stack tail. In that state, splitting the master first and then visibly moving or reprojecting the new pane across the window is unnecessary churn.Blocked by: #101, #102
Proposed solution
Make explicit managed
new-panetarget the existing stack tail directly for allmaster-stackorientations whenn > m.Scope:
n > m)n = m)1 -> 2policy conflict form = 1Tests should show that the master region does not get split first when the operation is just appending to an existing stack.
Context
This is the highest-value local
master-stackfix after #100. Surveyed plugins show both sides of the design space:tmux-layoutsbirths in the right broad direction for its simple master/stack analogtmux-tilertargets the existing stack branch once the stack existsdwm.tmuxandawesomewm.tmuxaccept split -> swap -> relayout churnAcceptance notes
Alternatives considered