mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-22 20:41:08 +00:00
feat(copilot-native): added keymaps to cycle suggestions
This commit is contained in:
parent
9913e1665d
commit
6bd630cec6
1 changed files with 15 additions and 0 deletions
|
|
@ -37,6 +37,21 @@ return {
|
||||||
end
|
end
|
||||||
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 = {
|
setup = {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue