Telescope extension for quick agent switching in gp.nvim.
With lazy.nvim:
{
'nvim-telescope/telescope.nvim',
dependencies = {'undg/telescope-gp-agent-picker.nvim'},
config = function()
require('telescope').setup()
require('telescope').load_extension('gp_picker') -- load_extension AFTER telescope.setup!!!
end
}
Command: :Telescope gp_picker agent
Keymap:
vim.keymap.set('n', '<leader>fa', '<cmd>Telescope gp_picker agent<cr>', {desc = 'GP Agent Picker'})
require('telescope').setup({
extensions = {
gp_picker = {
chat_mode = 'combo' -- 'chat', 'command', or 'combo' (default)
}
}
})
chat_mode
:
chat
: Use chat agents onlycommand
: Use command agents onlycombo
: Auto-switch based on context (default)
- Quick agent switching
- Integrates gp.nvim with Telescope