added a keymap to toggel the chat buffer for code companion <leader>mt. I think I will make the letter m from normal mode the conduit into code companion keymaps since it was unoccupied
This commit is contained in:
@@ -5,6 +5,9 @@ return {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
},
|
||||
config = {
|
||||
-- keymaps = {
|
||||
--
|
||||
-- }
|
||||
prompt_library = {
|
||||
['prompt2prompt'] = {
|
||||
strategy = 'chat',
|
||||
@@ -22,6 +25,22 @@ return {
|
||||
},
|
||||
},
|
||||
adapters = {
|
||||
codellama = function()
|
||||
return require('codecompanion.adapters').extend('ollama', {
|
||||
name = 'codellama', -- Give this adapter a different name to differentiate it from the default ollama adapter
|
||||
schema = {
|
||||
model = {
|
||||
default = 'codellama',
|
||||
},
|
||||
-- num_ctx = {
|
||||
-- default = 16384,
|
||||
-- },
|
||||
-- num_predict = {
|
||||
-- default = -1,
|
||||
-- },
|
||||
},
|
||||
})
|
||||
end,
|
||||
llama3 = function()
|
||||
return require('codecompanion.adapters').extend('ollama', {
|
||||
name = 'llama3', -- Give this adapter a different name to differentiate it from the default ollama adapter
|
||||
@@ -57,10 +76,10 @@ return {
|
||||
},
|
||||
strategies = {
|
||||
chat = {
|
||||
adapter = 'deepseekr1',
|
||||
adapter = 'codellama',
|
||||
},
|
||||
inline = {
|
||||
adapter = 'deepseekr1',
|
||||
adapter = 'codellama',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -6,7 +6,7 @@ return {
|
||||
-- Example config in lua
|
||||
vim.g.nord_contrast = true
|
||||
vim.g.nord_borders = false
|
||||
vim.g.nord_disable_background = true
|
||||
vim.g.nord_disable_background = false
|
||||
vim.g.nord_italic = false
|
||||
vim.g.nord_uniform_diff_background = true
|
||||
vim.g.nord_bold = false
|
||||
|
||||
Reference in New Issue
Block a user