mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-12-25 12:14:19 +01:00
feat(copilot-native): added keymaps to cycle suggestions
This commit is contained in:
@@ -37,6 +37,21 @@ return {
|
||||
end
|
||||
end,
|
||||
},
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{
|
||||
"<M-]>",
|
||||
function() vim.lsp.inline_completion.select({ count = 1 }) end,
|
||||
desc = "Next Copilot Suggestion",
|
||||
mode = { "i", "n" },
|
||||
},
|
||||
{
|
||||
"<M-[>",
|
||||
function() vim.lsp.inline_completion.select({ count = -1 }) end,
|
||||
desc = "Next Copilot Suggestion",
|
||||
mode = { "i", "n" },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
setup = {
|
||||
|
||||
Reference in New Issue
Block a user