Repository navigation
Resize direction feature. - #3
Open
epicdistraction wants to merge 5 commits into
Open
epicdistraction wants to merge 5 commits into
epicdistraction wants to merge 5 commits into
Conversation
Owner
Author
|
There's also potential to expand the cooperative resizer to other parts of the app with this. So it will probably need a bit more thought to get it to integrate with other features. One's workflow could use cooperative resizer and directional resizer with the other repeated commands. |
added 4 commits
July 11, 2026 13:38
…split will now move to that corner at the max cyclic size
…ire of resize shorcuts.
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.
Add context-aware directional resize shortcuts
This PR adds four configurable Extra Shortcuts:
Each shortcut expands, contracts, advances, or no-ops based on the focused window’s current side or corner placement. This enables modifier + WASD/arrow-style tiled resizing without requiring separate expand and contract shortcuts.
Behavior
Cyclic side and adjacent-corner advancement
Directional resize now continues naturally at the end of a cyclic expansion path.
A corner window expands through the configured cyclic ratios until it reaches the farthest valid extent.
Invoking the same direction again promotes that corner window to the corresponding side.
Invoking the same direction again from that side moves the window to the adjacent corner in that direction at the maximum valid extent.
For example:
Similarly:
Contraction at the minimum valid extent still no-ops instead of wrapping.
Min-size-constrained maximum extents count as the end of the cyclic expansion path, so the next invocation advances to the side or adjacent corner based on the achieved layout.
Cooperative resizing
Runtime split ratios