Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
teto opened this issue Mar 24, 2024 · 2 comments
Open

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

teto opened this issue Mar 24, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@teto
Copy link
Collaborator

teto commented Mar 24, 2024

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
    image
  • vim.ui.input is already used in GpImage so that's cool
@Robitx
Copy link
Owner

Robitx commented Mar 24, 2024

@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.

@Robitx Robitx added the enhancement New feature or request label Aug 4, 2024
@Robitx
Copy link
Owner

Robitx commented Aug 6, 2024

@teto Hey, slowly cleaning up the backlog - what's the current state of this issue? Are topics/ChatFinder working for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants