use vim.ui.select / vim.ui.input
Opened this issue · 3 comments
teto commented
would be nice to use neovim primitives for UI, aka:
- vim.ui.select for chat finder, I can't find how to select an old chat with current one, almost all of my chats have
?
as title. It also makes the whole experience more consistant across plugins. The risk is to lose preview though. Probably the selector (telescope or fzf-lua) could be configured to restore the preview
- vim.ui.input is already used in GpImage so that's cool
Robitx commented
@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.
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.