mirror of https://github.com/sgoudham/dotfiles.git
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
537 B
Lua
21 lines
537 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" },
|
|
},
|
|
}
|