Robitx / gp.nvim

Gp.nvim (GPT prompt) Neovim AI plugin: ChatGPT sessions & Instructable text/code operations & Speech to text [OpenAI]
MIT License
536 stars 49 forks source link

use vim.ui.select / vim.ui.input #121

Open teto opened 3 months ago

teto commented 3 months ago

would be nice to use neovim primitives for UI, aka:

Robitx commented 3 months ago

@teto have you looked into why is the topic generation failing? If you drop the topic word from the search bar at the bottom, you should be able to grep chats based on their content.

image

A bare vim.ui.select seems to me kind of unusable in this context (people can have hundreds of chats), so it would have to use telescope (particularly the live_grep which would force another dependency on people - ripgrep). I love telescope, but also don't want to force it on people who don't use it.