forked from dineshsalunke/nvim-config
refactor: add zen mode
This commit is contained in:
parent
1a62bf1239
commit
0d3a81b094
@ -108,4 +108,30 @@ return {
|
|||||||
"echasnovski/mini.surround",
|
"echasnovski/mini.surround",
|
||||||
opts = {},
|
opts = {},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"folke/zen-mode.nvim",
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"<leader>zm",
|
||||||
|
function()
|
||||||
|
require("zen-mode").toggle({
|
||||||
|
window = {
|
||||||
|
width = 0.85,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
opts = {
|
||||||
|
plugins = {
|
||||||
|
twilight = { enabled = true },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"folke/twilight.nvim",
|
||||||
|
opts = {},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user