update snacks

This commit is contained in:
Thomas Avé 2025-02-17 20:07:11 +01:00
parent 1a8c7395ce
commit 702bc720a9
2 changed files with 7 additions and 3 deletions

View File

@ -8,11 +8,11 @@
"locked": { "locked": {
"lastModified": 1, "lastModified": 1,
"narHash": "sha256-DuhR3y0gPZG0AJ2FDd+nUKzQMwT+c/DFIUWNDQ5Uyx4=", "narHash": "sha256-DuhR3y0gPZG0AJ2FDd+nUKzQMwT+c/DFIUWNDQ5Uyx4=",
"path": "/nix/store/1mcbnsa0w6wi9gpmnycj9zdj21gv9yqf-source/home/ags", "path": "/nix/store/n0765zaz6mvbrlcgqg4a6yivyk4n5xxz-source/home/ags",
"type": "path" "type": "path"
}, },
"original": { "original": {
"path": "/nix/store/1mcbnsa0w6wi9gpmnycj9zdj21gv9yqf-source/home/ags", "path": "/nix/store/n0765zaz6mvbrlcgqg4a6yivyk4n5xxz-source/home/ags",
"type": "path" "type": "path"
} }
}, },

View File

@ -58,7 +58,10 @@ return {
} }
}, },
statuscolumn = { enabled = true }, statuscolumn = { enabled = true },
words = { enabled = true }, words = {
enabled = true,
debounce = 20,
},
}, },
config = function(_, opts) config = function(_, opts)
vim.api.nvim_create_user_command("GitLink", function() vim.api.nvim_create_user_command("GitLink", function()
@ -79,5 +82,6 @@ return {
{"<c-o>", function() require("snacks").picker.buffers({layout = {preset = "vscode"}}) end}, {"<c-o>", function() require("snacks").picker.buffers({layout = {preset = "vscode"}}) end},
{"<c-f>", function() require("snacks").picker.grep({layout = {preset = "vertical"}}) end}, {"<c-f>", function() require("snacks").picker.grep({layout = {preset = "vertical"}}) end},
{"<c-n>", function() require("snacks").words.jump(1) end}, {"<c-n>", function() require("snacks").words.jump(1) end},
{"<c-b>", function() require("snacks").words.jump(-1) end},
} }
} }