Adding some snippets and keymaps
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
require('helpers').edit_cf('pa', '/lua/plugins/codecompanion.lua')
|
||||
|
||||
vim.cmd [[cab cc CodeCompanion]]
|
||||
|
||||
return {
|
||||
'olimorris/codecompanion.nvim',
|
||||
opts = function(_, opts)
|
||||
@@ -62,7 +64,7 @@ return {
|
||||
|
||||
opts.strategies = {
|
||||
chat = {
|
||||
adapter = 'gemini',
|
||||
adapter = 'gpt',
|
||||
slash_commands = {
|
||||
codebase = require('vectorcode.integrations').codecompanion.chat.make_slash_command(),
|
||||
},
|
||||
@@ -72,6 +74,11 @@ return {
|
||||
callback = require('vectorcode.integrations').codecompanion.chat.make_tool(),
|
||||
},
|
||||
},
|
||||
keymaps = {
|
||||
send = {
|
||||
modes = { i = '<Enter>' },
|
||||
},
|
||||
},
|
||||
},
|
||||
inline = {
|
||||
adapter = 'flash',
|
||||
|
||||
Reference in New Issue
Block a user