Skip to content

Commit

Permalink
Update zenmode.lua
Browse files Browse the repository at this point in the history
Better settings and loading with keys

Signed-off-by: Ren B <127970608+Ren-B-7@users.noreply.github.com>
  • Loading branch information
Ren-B-7 authored Nov 26, 2024
1 parent 77ace4f commit d7ec56a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Complexity.nvim/lua/plugins/theme/zenmode.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ return {
opts = {
window = {
backdrop = 0.5, -- shade the backdrop of the Zen window. Set to 1 to keep the same as Normal
width = 120, -- width of the Zen window
width = 0.95
height = 1, -- height of the Zen window
options = {},
},
Expand All @@ -26,4 +26,5 @@ return {
},
},
},
keys = { { "<localleader><localleader>", "<cmd>ZenMode<cr>", mode = { "n" }, desc = "Toggles ZenMode" } },
}

0 comments on commit d7ec56a

Please sign in to comment.