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:
2025-02-23 21:34:00 -05:00
parent bdcdcc11ea
commit 98a9cab64b
3 changed files with 25 additions and 3 deletions
+3
View File
@@ -8,6 +8,9 @@ vim.keymap.set({ 'n', 'v' }, '<Space>', '<Nop>', { silent = true })
-- For conciseness
local opts = { noremap = true, silent = true }
-- This is for CodeCompanion Plugin. I will move this later
vim.keymap.set('n', '<leader>mt', ':CodeCompanionChat Toggle<CR>', opts)
-- save file
vim.keymap.set('n', '<C-s>', '<cmd> w <CR>', opts)