A consulting-read interface for bibtex-completion.
- Clone the repo.
- Add the repo path to your emacs
load-path
. - Load it when needed.
TODO: MELPA support.
You can also install this package through the straight package manager.
(straight-use-package '(consult-bibtex :host github
:repo "mohkale/consult-bibtex"))
This package should work out of the box. Simply run M-x consult-bibtex
to
interactively select bibtex entries.
The file consult-bibtex-embark.el provides several commands that can be used
alongside consult-bibtex
. By default the command consult-bibtex-insert-citation
is
run when you select a bibtex entry but you can configure this with
consult-bibtex-default-action
.
This package exposes a map you can use alongside embark-act
called consult-bibtex-embark-map
however embark isn’t setup automatically. You can do so manually by simply adding
this map to embark-keymap-alist
.
(with-eval-after-load 'embark
(add-to-list 'embark-keymap-alist '(bibtex-completion . consult-bibtex-embark-map)))