install zen-mode and twilight plugins

This commit is contained in:
2022-04-10 00:04:24 +03:00
parent ed982b6d8a
commit 40407f4a2b
2 changed files with 25 additions and 0 deletions

View File

@@ -146,6 +146,27 @@ require("packer").startup(function(use)
end,
})
use({
"folke/zen-mode.nvim",
config = function()
require("zen-mode").setup({
plugins = {
gitsigns = {
enabled = true,
},
kitty = {
enabled = true,
font = "+4",
},
twilight = {
enabled = true,
},
},
})
end,
})
use({ "folke/twilight.nvim" })
if PACKER_BOOTSTRAP then
require("packer").sync()
end

View File

@@ -121,3 +121,7 @@ end)
vim.keymap.set("n", "<leader>rf", function()
vim.lsp.buf.formatting_sync()
end)
vim.keymap.set("n", "<leader>z", function()
require("zen-mode").toggle()
end)