⚙️ config(nvim): add new bindings to snacks picker and enable the image snack
This commit is contained in:
parent
2199dd616e
commit
afc6eb0ce2
1 changed files with 18 additions and 0 deletions
|
@ -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 },
|
||||
|
|
Loading…
Add table
Reference in a new issue