AutoYADM commit: 2024-12-25 22:00:01

This commit is contained in:
Daniel Fichtinger 2024-12-25 22:00:01 -05:00
parent a8a4c6013b
commit 88fc4c85b1
2 changed files with 28 additions and 2 deletions

View file

@ -41,7 +41,7 @@ return {
icon = "", icon = "",
key = "c", key = "c",
desc = "Config", desc = "Config",
action = ":lua Snacks.dashboard.pick('files', {cwd = vim.fn.stdpath('config')})", action = ":cd /home/fic/.config/nvim | lua Snacks.dashboard.pick('files', {cwd = vim.fn.stdpath('config')})",
}, },
{ icon = "", key = "s", desc = "Restore Session", section = "session" }, { icon = "", key = "s", desc = "Restore Session", section = "session" },
-- { icon = "󰒲 ", key = "L", desc = "Lazy", action = ":Lazy", enabled = package.loaded.lazy ~= nil }, -- { icon = "󰒲 ", key = "L", desc = "Lazy", action = ":Lazy", enabled = package.loaded.lazy ~= nil },

View file

@ -27,15 +27,41 @@ return {
diagnostics = true, diagnostics = true,
inlay_hints = true, inlay_hints = true,
}, },
win = {
backdrop = {
transparent = false,
blend = 20,
},
},
}, },
}, },
keys = { keys = {
{ {
"<leader>z", "<leader>z",
function() function()
Snacks.zen() Snacks.zen({
win = {
backdrop = {
transparent = true,
blend = 10,
},
},
})
end, end,
desc = "Toggle Zen Mode", desc = "Toggle Zen Mode",
}, },
{
"<leader>Z",
function()
Snacks.zen({
win = {
backdrop = {
transparent = false,
},
},
})
end,
desc = "Toggle Zen Mode (no backdrop)",
},
}, },
} }