Updates
This commit is contained in:
parent
67d9612c6a
commit
4bc8257221
6 changed files with 266 additions and 0 deletions
15
lua/custom/plugins/copilot.lua
Normal file
15
lua/custom/plugins/copilot.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
return {
|
||||
'github/copilot.vim',
|
||||
init = function()
|
||||
vim.g.copilot_no_tab_map = true
|
||||
vim.g.copilot_assume_mapped = true
|
||||
end,
|
||||
config = function()
|
||||
vim.keymap.set('i', '<C-e>', [[copilot#Accept("\<CR>")]], {
|
||||
silent = true,
|
||||
expr = true,
|
||||
script = true,
|
||||
replace_keycodes = false,
|
||||
})
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue