re-organised config

This commit is contained in:
Fergus Molloy
2025-06-19 14:31:13 +01:00
parent 309b47ceb5
commit ec9a456c74
18 changed files with 91 additions and 183 deletions

20
lua/plugins/ai/cody.lua Normal file
View File

@ -0,0 +1,20 @@
return {
{
'projects/cdy-nvim',
dir = '~/projects/cdy-nvim',
cmd = { 'CodyChat', 'CodyAsk', 'CodySetModel', 'CodyToggleFileContext', 'CodyToggleRepoContext', 'CodyNew' },
dependencies = {
'MunifTanjim/nui.nvim',
'nvim-lua/plenary.nvim',
},
keys = {
{ '<leader>cc', '<cmd>CodyChat<cr>', desc = 'Open cody chat' },
{ '<leader>cn', '<cmd>CodyNew<cr>', desc = 'Start new cody chat' },
},
dev = true,
opts = {
include_file = true,
include_repo = true,
},
},
}