summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorBlaise Thompson <blaise@untzag.com>2018-07-18 17:52:21 -0500
committerBlaise Thompson <blaise@untzag.com>2018-07-18 17:52:21 -0500
commitb30e64d16191680bda00ed4ac7ca68e82c863098 (patch)
tree8f8ddc6e714d9abce0e30fc4645425b859bf8ea3 /emacs
parent704849389f19212ca7d7b1f83081225f4139daad (diff)
2018-07-18 17:52
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 2a09ecc..9f987a3 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -67,6 +67,18 @@
(use-package helm-swoop
:ensure t
)
+(use-package helm-bibtex
+ :ensure t
+ :init
+ (setq bibtex-completion-bibliography '("~/literature/database.bib"))
+ (setq bibtex-completion-library-path '("~/literature"))
+ (setq bibtex-completion-notes-path "~/literature")
+ (setq bibtex-completion-pdf-open-function
+ (lambda (fpath)
+ (call-process "evince" nil 0 nil fpath)
+ )
+ )
+ )
;; ledger
(use-package ledger-mode