change accept autocomplete with TAB to CTRL+l
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
return {
|
||||
"github/copilot.vim",
|
||||
lazy = false,
|
||||
config = function()
|
||||
vim.g.copilot_no_tab_map = true
|
||||
vim.keymap.set('i', '<C-l>', 'copilot#Accept("\\<CR>")', {
|
||||
expr = true,
|
||||
replace_keycodes = false
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user