wip
This commit is contained in:
parent
f7764fd7b2
commit
1dd2406de3
2 changed files with 4 additions and 20 deletions
|
@ -244,23 +244,6 @@ return {
|
||||||
opts = { headerMaxWidth = 80 },
|
opts = { headerMaxWidth = 80 },
|
||||||
cmd = "GrugFar",
|
cmd = "GrugFar",
|
||||||
-- ────────────────────────────────────< keybindings >─────────────────────────────────
|
-- ────────────────────────────────────< keybindings >─────────────────────────────────
|
||||||
keys = {
|
|
||||||
{
|
|
||||||
"<leader>sr",
|
|
||||||
function()
|
|
||||||
local grug = require("grug-far")
|
|
||||||
local ext = vim.bo.buftype == "" and vim.fn.expand("%:e")
|
|
||||||
grug.grug_far({
|
|
||||||
transient = true,
|
|
||||||
prefills = {
|
|
||||||
filesFilter = ext and ext ~= "" and "*." .. ext or nil,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
mode = { "n", "v" },
|
|
||||||
desc = "Search and Replace",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
-- ╭──────────╮
|
-- ╭──────────╮
|
||||||
-- │ snippets │
|
-- │ snippets │
|
||||||
|
|
|
@ -17,12 +17,13 @@ return {
|
||||||
duration = 4, -- ms per step
|
duration = 4, -- ms per step
|
||||||
|
|
||||||
easing = "linear",
|
easing = "linear",
|
||||||
fps = 90, -- frames per second. Global setting for all animations
|
fps = 75, -- frames per second. Global setting for all animations
|
||||||
},
|
},
|
||||||
notifier = { enabled = true },
|
notifier = { enabled = true },
|
||||||
indent = { enabled = true },
|
indent = { enabled = true },
|
||||||
toggle = { enabled = true },
|
toggle = { enabled = true },
|
||||||
scroll = { enabled = true },
|
scroll = { enabled = true },
|
||||||
|
|
||||||
---@class snacks.dashboard.Config
|
---@class snacks.dashboard.Config
|
||||||
---@field enabled? boolean
|
---@field enabled? boolean
|
||||||
---@field sections snacks.dashboard.Section
|
---@field sections snacks.dashboard.Section
|
||||||
|
@ -407,7 +408,7 @@ return {
|
||||||
-- { "<leader>ql", function() require("persistence").load({ last = true }) end, desc = "Restore Last Session" },
|
-- { "<leader>ql", function() require("persistence").load({ last = true }) end, desc = "Restore Last Session" },
|
||||||
-- { "<leader>qd", function() require("persistence").stop() end, desc = "Don't Save Current Session" },
|
-- { "<leader>qd", function() require("persistence").stop() end, desc = "Don't Save Current Session" },
|
||||||
{ "<leader>db", "<cmd>:Dashboard<CR>", desc = "Dashboard" },
|
{ "<leader>db", "<cmd>:Dashboard<CR>", desc = "Dashboard" },
|
||||||
{ "<leader>dq", function() require("inspire").show_quote() end, desc = "Show Inspire Quote"},
|
-- { "<leader>dq", function() require("inspire").show_quote() end, desc = "Show Inspire Quote"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue