You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
471 B
Lua

local extremely_zen = function()
require("zen-mode").toggle({ plugins = { twilight = { enabled = true } } })
end
return {
{
"folke/zen-mode.nvim",
opts = {
plugins = {
twilight = { enabled = false },
},
},
cmd = { "ZenMode" },
keys = {
{ "<leader>zz", "<cmd>ZenMode<cr>", desc = "Zen Mode" },
{ "<leader>Z", extremely_zen, desc = "Extremely Zen Mode" },
},
dependencies = { "folke/twilight.nvim" },
},
}