feat(sidekick): use <a-a> in any snacks picker to send the (selected) results to an AI tool

This commit is contained in:
Folke Lemaitre
2025-10-17 19:18:28 +02:00
parent 5effc77185
commit 26c43a9b93

View File

@@ -106,4 +106,28 @@ return {
},
},
},
{
"folke/snacks.nvim",
optional = true,
opts = {
picker = {
actions = {
sidekick_send = function(...)
return require("sidekick.cli.snacks").send(...)
end,
},
win = {
input = {
keys = {
["<a-a>"] = {
"sidekick_send",
mode = { "n", "i" },
},
},
},
},
},
},
},
}