2024-11-07 20:10:13 +07:00
|
|
|
return {
|
|
|
|
"folke/snacks.nvim",
|
|
|
|
keys = {
|
|
|
|
{ "<leader>z", "<cmd>lua Snacks.lazygit()<cr>", desc = "LazyGit" },
|
2024-11-07 20:35:27 +07:00
|
|
|
{ "<leader>bd", "<cmd>lua Snacks.bufdelete()<cr>", desc = "(Snacks) Delete Buffer" },
|
|
|
|
{
|
|
|
|
"]]",
|
|
|
|
function()
|
|
|
|
Snacks.words.jump(vim.v.count1)
|
|
|
|
end,
|
|
|
|
desc = "Next Reference",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"[[",
|
|
|
|
function()
|
|
|
|
Snacks.words.jump(-vim.v.count1)
|
|
|
|
end,
|
|
|
|
desc = "Prev Reference",
|
|
|
|
},
|
2024-11-07 20:10:13 +07:00
|
|
|
},
|
|
|
|
}
|