remap tab for copilot
This commit is contained in:
parent
023d479cad
commit
0c64477fde
1 changed files with 5 additions and 0 deletions
|
@ -1,4 +1,9 @@
|
|||
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.g.copilot_no_tab_map = true;
|
||||
vim.g.copilot_assume_mapped = true;
|
||||
end
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue