You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: Splits equalizing on splitting #3861
Originally posted by jonathanj December 12, 2024
In #831 the equalize-splits command was added, I'd like to suggest going one step further: Have an option to automatically equalize splits after splitting. iTerm 2 splits behave this way by default.
There are some quirks to equalizing though, for example if I do: split right, split right, split bottom, split right:
If I equalize splits now, I would expect that my right splits each become 1/3 wide, and my bottom split becomes 1/2 high, however that's not quite what happens:
The right splits are not divided equally into thirds, and the bottom split is not divided equally into halves. I'm not sure I can understand what happened, but it wasn't what I was expecting. If I modify my sequence slightly in ghostty, it will produce the same thing as iTerm 2: split right, split right, equalize splits, split bottom, split right
For reference, this is what my sequence of splits produces in iTerm 2:
Thanks for the discussion link, knowing it was a conscious decision helps, and the proposal in #2227 sounds good.
My expectation comes from iTerm2 and vim, which behave similarly, although Ghostty behaves like tmux (which I seldom use). I see I'm not the only person who had different expectations, some clarification in the splitting docs could help.
Activity
JakeWharton commentedon Dec 29, 2024
#2227 (comment)
jonathanj commentedon Dec 29, 2024
Thanks for the discussion link, knowing it was a conscious decision helps, and the proposal in #2227 sounds good.
My expectation comes from iTerm2 and vim, which behave similarly, although Ghostty behaves like tmux (which I seldom use). I see I'm not the only person who had different expectations, some clarification in the splitting docs could help.