mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
Set resize "size" #124
Reference in New Issue
Block a user
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?
Originally created by @ziombo on GitHub (Aug 4, 2022).
Is it possible to set how much the resize-axis command will move the windows? The use case for me is when I have two windows, both taking half the screen, changing their size is a bit cumbersome as I have to trigger the command multiple times (also it's quite janky for me, not sure if that's me or that's how it is). With the size parameter I could at least adjust this to my own needs.
Even better solution would be to to have a "smart" resize, that would adjust this value based on some predefined conditions.
For example, here's a function I use to resize windows in my neovim:
Although it's in vimscript(yuck), it boils down to:
@LGUG2Z commented on GitHub (Aug 4, 2022):
I believe this function does what you are asking for: