anuvyklack / windows.nvim

Automatically expand width of the current window. Maximizes and restore it. And all this with nice animations!
MIT License
537 stars 15 forks source link

relative size #3

Closed JoseConseco closed 2 years ago

JoseConseco commented 2 years ago

Hi, I noticed windows wont get resized if neovim is wider than some max width X. Maybe resizing could be made relative - so that even if nvim window is big, windows.nvim would still increase active area size? Maybe golden ration could be used when increasing window size...

JoseConseco commented 2 years ago

I can see we have 'winwidth' option in autowidth config - and it is what I was looking for ( set current area as fraction of total vim width) .