window split to automatically change the direction of separation.
wf_230123-003534.mp4
require("spiral-split").setup({
height_weight = 2.5,
width_weight = 1.0,
})
vim.keymap.set(
{ "n" },
"<CR>",
require("spiral-split").split(),
{ silent = true, noremap = true, desc = "spiral split" }
)