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

multiple selection #19

Open
atanasj opened this issue Oct 19, 2021 · 6 comments
Open

multiple selection #19

atanasj opened this issue Oct 19, 2021 · 6 comments
Labels
external Issue is related to Telescope itself, not this plugin

Comments

@atanasj
Copy link

atanasj commented Oct 19, 2021

Hi,

Thanks for a great resource in this package. I'm wondering, is it possible to add multiple entries via the tab selection feature found in telescope?

It might be obvious if this is already implemented, but it's not obvious to me!

@noahares
Copy link
Collaborator

Currently this is not supported. I overwrite the enter-action to do the insertion, so the same would have to be done for multiple selections. Not too complicated, afaik. If you want to implement this, feel free to open a PR, otherwise it goes onto my todo list, but I do not have much time atm, so it could take a bit.

@atanasj
Copy link
Author

atanasj commented Oct 19, 2021

I'd love to help, but this would but way over my head! Unless you can point me towards some resources that I could help me understand how to start hacking into it… I hope to see the feature soon. Thanks : )

@noahares
Copy link
Collaborator

Sorry for the delay, here is something to get started telescope docs (see how I do it in line 164).
Currently multi-selection actions are not implemented in telescope, afaik. But somebody posted a workaround here. This seems promising to get the selections.
I will have a look at this as soon as I have more time. Until then feel free to experiment yourself :)

@atanasj
Copy link
Author

atanasj commented Oct 27, 2021

No worries, thanks for that. I am bit pressed for time too at the moment, but it definitely looks promising!

@Conni2461
Copy link
Member

At some point Multi-select actions will come to telescope core. shouldnt be implemented here.

Ref: nvim-telescope/telescope.nvim#807 and everything linked

@noahares
Copy link
Collaborator

Thanks for the info!

@noahares noahares added the external Issue is related to Telescope itself, not this plugin label Nov 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external Issue is related to Telescope itself, not this plugin
Projects
None yet
Development

No branches or pull requests

3 participants