focus.nvim icon indicating copy to clipboard operation
focus.nvim copied to clipboard

feature: ignore min_width when there isn't enough space

Open kaiphat opened this issue 2 years ago • 1 comments

If i want open a lot of splits i will get that error: image

But i need use min_width option, because without it, my not focused splits will be too small.

kaiphat avatar Jun 14 '22 11:06 kaiphat

This is a tough one. We will need to keep track of N number of splits open and the W width of the users display.

We can then take W/N and check if it is < min_width. If so, we can reduce min_width by an increment. But this can lead us to other issues. Let me think about a solution

beauwilliams avatar Jul 24 '22 08:07 beauwilliams