selectrum: add bibtex-actions to tools/biblio

This commit is contained in:
Itai Y. Efrat 2021-04-28 23:07:22 +03:00
parent 7e51f98b3f
commit a3c978ba36
3 changed files with 11 additions and 0 deletions

View file

@ -22,3 +22,5 @@ In selectrum, it leads to =/foo/bar!=
** TODO ~:pg~ support ** TODO ~:pg~ support
* PROJ Other * PROJ Other
** TODO bind =consult-lsp-diagnostics= to something? ** TODO bind =consult-lsp-diagnostics= to something?
** TODO test out bibtex-actions, check if more configuration should be added
https://github.com/bdarcus/bibtex-actions

View file

@ -12,3 +12,10 @@
:defer t :defer t
:config :config
(add-to-list 'ivy-re-builders-alist '(ivy-bibtex . ivy--regex-plus))) (add-to-list 'ivy-re-builders-alist '(ivy-bibtex . ivy--regex-plus)))
(use-package! bibtex-actions
:when (featurep! :completion selectrum)
:defer t
:config
(add-to-list 'embark-keymap-alist '(bibtex . bibtex-actions-map)))

View file

@ -6,3 +6,5 @@
(package! ivy-bibtex :pin "9f6ea920a49457d85096caa0e61f086a42b2908e")) (package! ivy-bibtex :pin "9f6ea920a49457d85096caa0e61f086a42b2908e"))
(when (featurep! :completion helm) (when (featurep! :completion helm)
(package! helm-bibtex :pin "9f6ea920a49457d85096caa0e61f086a42b2908e")) (package! helm-bibtex :pin "9f6ea920a49457d85096caa0e61f086a42b2908e"))
(when (featurep! :completion selectrum)
(package! bibtex-actions :pin "743f548c0cd46e3418a7ca4736bde8c86f97c073"))