dotfiles/.config/nvim/lua/plugins/extras/zen-mode.lua
Sergio Laín c4e8fe2941
♻️ refactor(nvim): big changes to the config structure
a lot of plugins are moving to the extra modules
all the keymaps are on the keys section of each plugin
which-key options are now dependant on the plugin they are in, etc
2023-10-20 15:01:41 +02:00

20 lines
470 B
Lua

return {
{
"folke/zen-mode.nvim",
cmd = "ZenMode",
keys = { { "<leader>uz", "<cmd>ZenMode<cr>", desc = "Toggle Zen Mode" } },
opts = {
plugins = {
scrollview = { enabled = false },
satellite = { enabled = false },
gitsigns = { enabled = false },
},
},
},
{
"folke/twilight.nvim",
cmd = "Twilight",
keys = { { "<leader>uZ", "<cmd>Twilight<cr>", desc = "Toggle Twilight" } },
opts = {},
},
}