mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 08:53:31 +02:00
enc: upgrade v2 to v2.5
This commit is contained in:
parent
68ea712b98
commit
609234c086
443 changed files with 5224 additions and 90746 deletions
22
lua/pcode/plugins/extras/zenmode.lua
Normal file
22
lua/pcode/plugins/extras/zenmode.lua
Normal file
|
@ -0,0 +1,22 @@
|
|||
return {
|
||||
"folke/zen-mode.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
plugins = {
|
||||
options = {
|
||||
-- hide statusline
|
||||
laststatus = 0,
|
||||
},
|
||||
},
|
||||
on_open = function(win)
|
||||
require("notify")("Zen Mode ON")
|
||||
end,
|
||||
on_close = function()
|
||||
require("notify")("Zen Mode OFF")
|
||||
end,
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>z", "<cmd>ZenMode<cr>", desc = " Toggle Zen Mode" },
|
||||
},
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue