mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-26 10:48:40 +02:00
enc: update config zen mode
This commit is contained in:
parent
4bd49ca963
commit
b75362b066
1 changed files with 13 additions and 1 deletions
|
@ -1,7 +1,19 @@
|
||||||
return {
|
return {
|
||||||
"folke/zen-mode.nvim",
|
"folke/zen-mode.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
opts = {},
|
opts = {
|
||||||
|
plugins = {
|
||||||
|
options = {
|
||||||
|
laststatus = 0,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
on_open = function(win)
|
||||||
|
require("notify")("Zen Mode ON")
|
||||||
|
end,
|
||||||
|
on_close = function()
|
||||||
|
require("notify")("Zen Mode OFF")
|
||||||
|
end,
|
||||||
|
},
|
||||||
keys = {
|
keys = {
|
||||||
{ "<leader>zz", "<cmd>ZenMode<cr>", desc = "Toggle Zen Mode" },
|
{ "<leader>zz", "<cmd>ZenMode<cr>", desc = "Toggle Zen Mode" },
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue