nvim/lua/plugins/windows.lua

22 lines
435 B
Lua
Raw Permalink Normal View History

2022-10-09 22:40:29 +02:00
local M = {
event = "User PackerDefered",
requires = {
{ "anuvyklack/middleclass", module = "middleclass" },
{ "anuvyklack/animation.nvim", module = "animation" },
},
}
function M.config()
vim.o.winwidth = 5
vim.o.winminwidth = 5
vim.o.equalalways = false
require("windows").setup({
animation = {
duration = 150,
},
})
vim.keymap.set("n", "<leader>Z", "<Cmd>WindowsMaximize<CR>")
end
return M