snacks
This commit is contained in:
@@ -17,10 +17,18 @@ return {
|
|||||||
quickfile = { enabled = true },
|
quickfile = { enabled = true },
|
||||||
scope = { enabled = true },
|
scope = { enabled = true },
|
||||||
scroll = { enabled = true },
|
scroll = { enabled = true },
|
||||||
|
scratch = { enabled = true },
|
||||||
statuscolumn = { enabled = true },
|
statuscolumn = { enabled = true },
|
||||||
words = { enabled = true },
|
words = { enabled = true },
|
||||||
},
|
},
|
||||||
keys = {
|
keys = {
|
||||||
|
{
|
||||||
|
"<leader>gl",
|
||||||
|
function()
|
||||||
|
Snacks.git.blame_line()
|
||||||
|
end,
|
||||||
|
desc = "Snacks blame line",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"<leader>gl",
|
"<leader>gl",
|
||||||
function()
|
function()
|
||||||
@@ -33,7 +41,21 @@ return {
|
|||||||
function()
|
function()
|
||||||
Snacks.lazygit()
|
Snacks.lazygit()
|
||||||
end,
|
end,
|
||||||
desc = "Lazygit",
|
desc = "Snacks LazyGit",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"<leader>.",
|
||||||
|
function()
|
||||||
|
Snacks.scratch()
|
||||||
|
end,
|
||||||
|
desc = "Toggle Scratch Buffer",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"<leader>s.",
|
||||||
|
function()
|
||||||
|
Snacks.scratch.select()
|
||||||
|
end,
|
||||||
|
desc = "Select Scratch Buffer",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
init = function()
|
init = function()
|
||||||
|
|||||||
Reference in New Issue
Block a user