config fix
This commit is contained in:
@ -8,9 +8,13 @@ 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 = 'ChatGPT [D]ocstring' })
|
||||
vim.keymap.set('v', '<leader>lca', '<cmd>CodeCompanionActions<CR>', { desc = 'ChatGPT [D]ocstring' })
|
||||
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>',
|
||||
{ desc = 'ChatGPT [T]oggle Companion Chat' })
|
||||
vim.keymap.set('v', '<leader>lct', '<cmd>CodeCompanionChat Toggle<CR>',
|
||||
|
@ -37,11 +37,6 @@ return {
|
||||
filter = { event = 'msg_showmode' },
|
||||
},
|
||||
},
|
||||
|
||||
require('which-key').add {
|
||||
{ "", desc = "<leader>n_", hidden = true },
|
||||
{ "", group = "[N]oice" },
|
||||
},
|
||||
vim.keymap.set('n', '<leader>nl', function()
|
||||
require('noice').cmd 'last'
|
||||
end, { desc = 'Noice [l]ast' }),
|
||||
|
Reference in New Issue
Block a user