mirror of
https://github.com/tomru/nvim.git
synced 2026-03-02 22:17:13 +01:00
add keybinding to accept next suggestion
This commit is contained in:
@@ -11,6 +11,16 @@ return {
|
||||
},
|
||||
-- stylua: ignore
|
||||
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",
|
||||
function() require("sidekick.cli").toggle() end,
|
||||
|
||||
Reference in New Issue
Block a user