add keybinding to accept next suggestion

This commit is contained in:
Thomas Ruoff
2025-11-25 08:03:36 +01:00
parent 25f46e7875
commit 9b8162da84

View File

@@ -11,6 +11,16 @@ return {
}, },
-- stylua: ignore -- stylua: ignore
keys = { keys = {
{
"<c-y>",
function()
if not require('sidekick').nes_jump_or_apply() then
return "<c-y>"
end
end,
expr = true,
desc = "Goto/Apply Next Edit Suggestion"
},
{ {
"<leader>aa", "<leader>aa",
function() require("sidekick.cli").toggle() end, function() require("sidekick.cli").toggle() end,