Finalizing 5150.nvim with Kickstart
This commit is contained in:
parent
d1f7a105c2
commit
8595f2c047
6 changed files with 157 additions and 5 deletions
13
lua/kickstart/plugins/copilot.lua
Normal file
13
lua/kickstart/plugins/copilot.lua
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
return {
|
||||
'github/copilot.vim',
|
||||
event = 'InsertEnter',
|
||||
config = function()
|
||||
vim.g.copilot_no_tab_map = true
|
||||
|
||||
local keymap = vim.keymap.set
|
||||
keymap('i', '<C-L>', 'copilot#Accept("<CR>")', { expr = true, silent = true })
|
||||
keymap('i', '<M-j>', 'copilot#Next()', { expr = true, silent = true })
|
||||
keymap('i', '<M-k>', 'copilot#Previous()', { expr = true, silent = true })
|
||||
keymap('i', '<C-E>', 'copilot#Dismiss()', { expr = true, silent = true })
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue