28 lines
701 B
Lua
28 lines
701 B
Lua
-- 这里用来coplit AI的配置
|
||
return {
|
||
{
|
||
-- Copilot 懒加载:只在插入模式需要(和 nvim-cmp 共用 Tab 键,cmp 改用 C-n/C-p 避让)
|
||
'github/copilot.vim', -- github copilot
|
||
event = "InsertEnter",
|
||
},
|
||
{
|
||
-- lazy.nvim
|
||
'newbieQQ/slot.nvim',
|
||
url = 'https://github.com/newbieQQ/slot.nvim',
|
||
config = function()
|
||
require('slot').setup({
|
||
commands = {
|
||
reasonix = 'reasonix',
|
||
lazygit = 'lazygit',
|
||
},
|
||
keymaps = {
|
||
shell = { 'n', '<c-t>' },
|
||
shell_i = { 'i', '<c-t>' },
|
||
reasonix = { 'n', '<C-i>' },
|
||
lazygit = { 'n', '<leader>gg' },
|
||
},
|
||
})
|
||
end,
|
||
}
|
||
}
|