Vim window tree: splits, ctrl+w chords, multi-window rendering (phase 2)#86
Closed
gammons wants to merge 10 commits into
Closed
Vim window tree: splits, ctrl+w chords, multi-window rendering (phase 2)#86gammons wants to merge 10 commits into
gammons wants to merge 10 commits into
Conversation
3 tasks
Owner
Author
|
Superseded by #87, which combines all three window-management phases into one mergeable PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
internal/ui/wintreepackage: vim-style split tree with exact-tiling geometry, simulate-and-check minimum-size refusal (validates actual resulting rects, rolls back), Close/Only/Cycle, and geometricctrl+w h/j/k/lneighbor lookup:sp/:vsp/:q/:only(:on) commands plus the fullctrl+wchord set (s v h j k l w q c o) behind a pending-key state with a status-bar hint — disarmed centrally on any mode changeSpec:
docs/superpowers/specs/2026-06-11-window-management-design.md(§1, §4-6, Phasing item 2); plan:docs/superpowers/plans/2026-06-11-window-management-phase2-window-tree.md(on main).Test Plan
go test ./... -count=1), vet clean, every commit builds:vsp→ side-by-side with live focused pane + placeholder;ctrl+w h/lmoves focus and live pane follows channel;:q/ctrl+w ocollapse; shrink until "Not enough room";?lists window commands