aboutsummaryrefslogtreecommitdiff
path: root/gui/conf
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-10-04 12:57:50 +0200
committerAdrian Kummerlaender2020-10-04 12:57:50 +0200
commit760ba1d9561d4a12ed5542303db96ccbda420448 (patch)
tree21bafa67949f03db6d81bdc38a65a18e4a975e36 /gui/conf
parent0910eb711d3cf3276bbe45a522d63cf2fccdefa3 (diff)
downloadnixos_home-760ba1d9561d4a12ed5542303db96ccbda420448.tar
nixos_home-760ba1d9561d4a12ed5542303db96ccbda420448.tar.gz
nixos_home-760ba1d9561d4a12ed5542303db96ccbda420448.tar.bz2
nixos_home-760ba1d9561d4a12ed5542303db96ccbda420448.tar.lz
nixos_home-760ba1d9561d4a12ed5542303db96ccbda420448.tar.xz
nixos_home-760ba1d9561d4a12ed5542303db96ccbda420448.tar.zst
nixos_home-760ba1d9561d4a12ed5542303db96ccbda420448.zip
Basic helm-bibtex setup
Together with better BibTeX Zotero plugin this allows for convenient access to my literature sources from anywhere in Emacs.
Diffstat (limited to 'gui/conf')
-rw-r--r--gui/conf/init.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el
index 3098655..150ec52 100644
--- a/gui/conf/init.el
+++ b/gui/conf/init.el
@@ -287,6 +287,12 @@
:config
(evil-leader/set-key "pf" 'helm-browse-project))
+(use-package helm-bibtex
+ :ensure t
+ :config
+ (setq bibtex-completion-bibliography '("~/university/bib/lit.bib"))
+ (setq bibtex-completion-pdf-field "file"))
+
(global-set-key (kbd "<M-tab>") 'next-buffer)
(global-set-key (kbd "<M-iso-lefttab>") 'previous-buffer)
(global-set-key (kbd "<C-tab>") 'other-window)