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

[extension request] Yanking the entire bibtex entry #18

Closed
ThSGM opened this issue Sep 6, 2021 · 2 comments
Closed

[extension request] Yanking the entire bibtex entry #18

ThSGM opened this issue Sep 6, 2021 · 2 comments

Comments

@ThSGM
Copy link

ThSGM commented Sep 6, 2021

Hi!

In addition to the base \cite command, it would be very handy to be able to copy the entire .bib reference for the search result.

My usage in this regard is like this. I always have a local .bib file in the same directory as my document, but then I add a master .bib file to the global search path. This is often useful when working on collaborative documents because you don't want to share your master bib file. Instead, you want to transfer in entries from the master bib file to the local file when the required entry is needed.

So for example, something like:

:Telescope bibtex-entry

which yanks or yanks+pastes the corresponding entry would be useful.

@ThSGM ThSGM changed the title [extension request] [extension request] Yanking the entire bibtex entry Sep 6, 2021
@noahares
Copy link
Collaborator

noahares commented Sep 8, 2021

Sounds like a good feature that is fairly straight to implement. I will look into it as soon as I have a bit more time :)

@noahares
Copy link
Collaborator

I just merged this feature, fell free to test it and give me feedback if anything does not work.

You can call it with :Telescope bibtex entry

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

No branches or pull requests

2 participants