install zen-mode and twilight plugins
This commit is contained in:
@@ -146,6 +146,27 @@ require("packer").startup(function(use)
|
|||||||
end,
|
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
|
if PACKER_BOOTSTRAP then
|
||||||
require("packer").sync()
|
require("packer").sync()
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -121,3 +121,7 @@ end)
|
|||||||
vim.keymap.set("n", "<leader>rf", function()
|
vim.keymap.set("n", "<leader>rf", function()
|
||||||
vim.lsp.buf.formatting_sync()
|
vim.lsp.buf.formatting_sync()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
vim.keymap.set("n", "<leader>z", function()
|
||||||
|
require("zen-mode").toggle()
|
||||||
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user