feat: extract and configure code-companion

This commit is contained in:
Michael Mandl 2025-05-12 08:56:26 +02:00
parent 599be55422
commit 52fb50b13c
Signed by: mandlm
GPG key ID: 088ED38F036C7AF2
3 changed files with 30 additions and 13 deletions

View file

@ -64,6 +64,5 @@ nnoremap("gq", ":Bdelete<CR>")
-- toggle search highlighting
vim.cmd('nnoremap <expr> * v:hlsearch ? ":nohlsearch<cr>" : "*"')
-- open Copilot Chat window
nnoremap("<leader>cc", ":lua require('CopilotChat').open()<CR>")
nnoremap("<leader>C", ":CodeCompanionChat #buffer<CR>")
-- open CodeCompanion chat window
nnoremap("<leader>cc", ":CodeCompanionChat #buffer{watch} #lsp @full_stack_dev<CR>")