We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In mappings, you can define a key to insert a citation. For instance:
require"telescope".setup { extensions = { bibtex = { global_files = { 'mybib.bib' }, mappings = { i = { ["<CR>"] = bibtex_actions.citation_append( '@{{label}}: {{author}}, _{{title}}_, {{publisher}}, {{address}}, {{year}}.' ), }, }, }, }, }
and
@book{Luthor2024, author = {Luthor, Lex}, title = {My years with Superman}, publisher = {Kripton}, address = {Metropolis}, year = {2024}, }
will produce: @Luthor2024: Luthor, L,. _My years with Superman_, Kripton, Metropolis, 2024.
@Luthor2024: Luthor, L,. _My years with Superman_, Kripton, Metropolis, 2024.
However, things get complicated whenever your bibtex entries use @article or @inbook, to name a few. Is there any "automatic" formatting?
@article
@inbook
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In mappings, you can define a key to insert a citation. For instance:
and
will produce:
@Luthor2024: Luthor, L,. _My years with Superman_, Kripton, Metropolis, 2024.
However, things get complicated whenever your bibtex entries use
@article
or@inbook
, to name a few. Is there any "automatic" formatting?The text was updated successfully, but these errors were encountered: