From 78ae2be4aaf08ab1557ea8259fb95675e88f4eb3 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Thu, 22 Jul 2021 12:50:16 -0400 Subject: [PATCH] ENH make inserting citations easy --- etc/conf.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/etc/conf.org b/etc/conf.org index a048c97..290b1de 100644 --- a/etc/conf.org +++ b/etc/conf.org @@ -1331,7 +1331,9 @@ Together, =org-ref= and =ivy-bibtex= provide a nice pipeline to search a BibTex :config (setq bibtex-completion-bibliography (expand-file-name "~/BibTeX/master.bib") bibtex-completion-library-path (expand-file-name "~/BibTeX/pdf") - bibtex-completion-pdf-field "File")) + bibtex-completion-pdf-field "File" + ;; I want to insert citations by default + ivy-bibtex-default-action 'ivy-bibtex-insert-citation)) #+END_SRC *** HTML :PROPERTIES: @@ -4224,6 +4226,7 @@ The function keys are nice because they are almost (not always) free in every mo (global-set-key (kbd "C-S-") 'org-tomato-user-pomodoro-goto) (global-set-key (kbd " s") #'swiper-thing-at-point) (global-set-key (kbd " o") #'counsel-org-goto-all) +(global-set-key (kbd " b") #'ivy-bibtex-with-local-bibliography) (global-set-key (kbd " f") #'flyspell-correct-at-point) (defhydra hydra-modes (global-map "" :exit t)