mirror of
https://github.com/tomru/nvim.git
synced 2026-03-03 06:27:14 +01:00
add keybinding to accept next suggestion
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user