Problem: Exchanging windows with CTRL-W x or rotating them with CTRL-W r
leaves a window with the status line height of the other one, so
with 'statuslineopt' the windows in a row no longer line up.
Solution: Keep the total height of each window when the status line height
is exchanged, and compute the height needed for the status line of
each window afterwards.
To reproduce:
vim --clean +vsp +"setl stlo=fixedheight,maxheight:3"
Then CTRL-W x or CTRL-W r.
https://github.com/vim/vim/pull/21079
(2 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()