Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 654 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 654 Bytes

📖 Doi2Bib

A simple plugin which replaces a DOI link with the corresponding BibTex entry using Crossrefs REST API.

⚡️ Requirements

  • Internet connection
  • curl

📦 Installation

use({ "timoleistner/doi2bib/" })

🌱 Usage

Doi2Bib comes with the command:

  • Doi2Bib: Replaces DOI (cWORD) under cursor with BibTex entry.

Example mapping:

vim.api.nvim_set_keymap(
    'n', 'gb', '<cmd>lua require("doi2bib").doi2bib()<cr>',
    { noremap = true, silent = true }
)