mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 04:21:03 +00:00
19 lines
365 B
Lua
19 lines
365 B
Lua
return {
|
|
"folke/zen-mode.nvim",
|
|
config = function()
|
|
local map = LazyVim.safe_keymap_set
|
|
|
|
local cmd = function()
|
|
local zen = require("zen-mode")
|
|
zen.setup({
|
|
window = {
|
|
width = 140,
|
|
options = {},
|
|
},
|
|
})
|
|
zen.toggle()
|
|
end
|
|
|
|
map("n", "<leader>zz", cmd, { desc = "Toggle Zen Mode" })
|
|
end,
|
|
}
|