adds zenmode
This commit is contained in:
parent
e11096c071
commit
3d7e4b5e48
1 changed files with 21 additions and 0 deletions
21
lua/plugin/zen.lua
Normal file
21
lua/plugin/zen.lua
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"folke/zen-mode.nvim",
|
||||||
|
opts = {
|
||||||
|
window = {
|
||||||
|
backdrop = 1,
|
||||||
|
width = 90,
|
||||||
|
},
|
||||||
|
plugins = {
|
||||||
|
options = {
|
||||||
|
enabled = true,
|
||||||
|
ruler = true,
|
||||||
|
showcmd = true,
|
||||||
|
laststatus = 3,
|
||||||
|
},
|
||||||
|
gitsigns = { enabled = false }
|
||||||
|
},
|
||||||
|
vim.keymap.set("n", "<leader>zz", function() require("zen-mode").toggle() end),
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue