Compare commits
2 commits
11c5aecb3a
...
d8983796e9
Author | SHA1 | Date | |
---|---|---|---|
d8983796e9 | |||
59359e9d5e |
1 changed files with 6 additions and 1 deletions
|
@ -2,7 +2,12 @@ return {
|
|||
"github/copilot.vim",
|
||||
lazy = false,
|
||||
config = function()
|
||||
vim.api.nvim_set_keymap("i", "<C-Tab>", 'copilot#Accept("<End>")', { silent = true, script = true, expr = true })
|
||||
vim.api.nvim_set_keymap(
|
||||
"i",
|
||||
"<C-Tab>",
|
||||
'copilot#Accept("\\<CR>")',
|
||||
{ silent = true, script = true, expr = true, replace_keycodes = false }
|
||||
)
|
||||
vim.g.copilot_no_tab_map = true
|
||||
vim.g.copilot_assume_mapped = true
|
||||
end,
|
||||
|
|
Loading…
Reference in a new issue