This commit is contained in:
pika 2025-05-24 17:15:21 +02:00
parent 2413eb3860
commit 923da56ca8
4 changed files with 46 additions and 27 deletions

View file

@ -11,6 +11,17 @@ return {
indent = { enabled = true },
input = { enabled = true },
animate = {
enabled = true,
---@type snacks.animate.Duration|number
duration = 3, -- ms per step
easing = "linear",
fps = 60, -- frames per second. Global setting for all animations
},
explorer = { enabled = false },
---@class snacks.dashboard.Config
---@field enabled? boolean
---@field sections snacks.dashboard.Section
@ -110,6 +121,17 @@ return {
-- end,
-- desc = "Buffers",
-- },
-- both of the next two bindings are the same, just for different keymaps
-- ─< find [N]eovim config >────────────────────────────────────────────────────────────
{
"<leader>fn",
function()
Snacks.picker.files({ cwd = vim.fn.stdpath("config") })
end,
desc = "Find Config File",
},
-- ─< find neovim [C]onfig >────────────────────────────────────────────────────────────
{
"<leader>fc",
function()
@ -117,6 +139,7 @@ return {
end,
desc = "Find Config File",
},
{
"<leader>ff",
function()