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

Telescope: handle multiple selections #88

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jghauser
Copy link
Owner

@jghauser jghauser commented Jul 7, 2024

TODO: handle creating multiple notes when trying to open notes which do not exist yet

@jghauser jghauser linked an issue Jul 7, 2024 that may be closed by this pull request
@jghauser jghauser marked this pull request as draft July 7, 2024 11:48
else
for _, entry in pairs(multi) do
local ref = string.format(format_string, entry.id.ref)
string_to_insert = string_to_insert .. ref .. " "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The string connecting the reference keys (" " here) could be another configuration parameter. I only use papis.nvim with tex files and I need to connect them via ,

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point! I'll make sure to make it configurable and try to see what would be sensible defaults for the various filetypes we configure in cite_formats. I might in fact add it to that option :)

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

Successfully merging this pull request may close these issues.

Enable multiple-selection in telescope picker
2 participants