Just found focus.nvim. It resizes automatically the split views. Which is nice for me because I zoom in and out my terminal constantly.