AutoYADM commit: 2024-12-25 22:00:01
This commit is contained in:
parent
a8a4c6013b
commit
88fc4c85b1
2 changed files with 28 additions and 2 deletions
|
@ -41,7 +41,7 @@ return {
|
|||
icon = " ",
|
||||
key = "c",
|
||||
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 = "L", desc = "Lazy", action = ":Lazy", enabled = package.loaded.lazy ~= nil },
|
||||
|
|
|
@ -27,15 +27,41 @@ return {
|
|||
diagnostics = true,
|
||||
inlay_hints = true,
|
||||
},
|
||||
win = {
|
||||
backdrop = {
|
||||
transparent = false,
|
||||
blend = 20,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
"<leader>z",
|
||||
function()
|
||||
Snacks.zen()
|
||||
Snacks.zen({
|
||||
win = {
|
||||
backdrop = {
|
||||
transparent = true,
|
||||
blend = 10,
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
desc = "Toggle Zen Mode",
|
||||
},
|
||||
{
|
||||
"<leader>Z",
|
||||
function()
|
||||
Snacks.zen({
|
||||
win = {
|
||||
backdrop = {
|
||||
transparent = false,
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
desc = "Toggle Zen Mode (no backdrop)",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue