config fix

This commit is contained in:
m3tam3re
2024-10-14 14:51:52 +02:00
parent 69a479af24
commit 3866c13286
2 changed files with 8 additions and 21 deletions

View File

@ -8,11 +8,6 @@ return {
{ "stevearc/dressing.nvim", opts = {} }, -- Optional: Improves `vim.ui.select`
},
config = function()
require('which-key').add {
{ "", desc = "<leader>c_", hidden = true },
{ "", group = "[C]ode Companion", hidden = true },
}
vim.keymap.set('n', '<leader>lc', vim.cmd.CodeCompanion, { desc = '[C]ode Companion' })
vim.keymap.set('n', '<leader>lca', '<cmd>CodeCompanionActions<CR>', { desc = 'Companion [A]ctions' })
vim.keymap.set('v', '<leader>lca', '<cmd>CodeCompanionActions<CR>', { desc = 'Companion [A]ctions' })
vim.keymap.set('n', '<leader>lct', '<cmd>CodeCompanionChat Toggle<CR>',