1
0

Merge Windows config

This commit is contained in:
2024-09-26 14:46:07 +02:00
parent 12b89714dc
commit 71f08e66aa
6 changed files with 162 additions and 59 deletions

View File

@@ -1,9 +1,29 @@
return {
"folke/edgy.nvim",
event = "VeryLazy",
opts = {},
init = function ()
vim.opt.laststatus = 3
vim.opt.splitkeep = "screen"
end
}
return {
"folke/edgy.nvim",
event = "VeryLazy",
opts= {
bottom ={
{
ft = "toggleterm",
size = { height = 0.4 },
filter = function (_, win)
return vim.api.nvim_win_get_config(win).relative == ""
end,
},
{
ft = "lazyterm",
title = "Lazyterm",
size = { height = 0.4 },
filter = function(buf, _)
return not vim.b[buf].lazyterm_cmd
end
}
},
init = function ()
vim.opt.laststatus = 3
vim.opt.splitkeep = "screen"
end,
}
}