⚙️ config(nvim): add new bindings to snacks picker and enable the image snack

This commit is contained in:
Sergio Laín 2025-02-19 14:39:14 +01:00
parent 2199dd616e
commit afc6eb0ce2
No known key found for this signature in database
GPG key ID: 51BB28D8B42FB438

View file

@ -26,6 +26,24 @@ return {
position = "float",
},
},
picker = {
win = {
input = {
keys = {
["<c-u>"] = { "preview_scroll_up", mode = { "i", "n" } },
["<a-j>"] = { "list_scroll_down", mode = { "i", "n" } },
["<c-d>"] = { "preview_scroll_down", mode = { "i", "n" } },
["<a-k>"] = { "list_scroll_up", mode = { "i", "n" } },
},
},
},
},
image = {
enabled = true,
-- doc = {
-- inline = false,
-- },
},
scroll = {
animate = {
duration = { step = 10, total = 150 },