Remove setting a global bibliography using citar/org-cite

This commit is contained in:
Evie Litherland-Smith 2025-01-16 17:58:31 +00:00
parent 9dc40b68d4
commit edb2a5854b

20
init.el
View file

@ -786,24 +786,12 @@
:hook
(LaTeX-mode . citar-capf-setup)
(org-mode . citar-capf-setup)
:custom
(citar-bibliography
(list
(expand-file-name "citar/main.bib" org-directory)))
(citar-notes-paths
(list
(expand-file-name "citar/notes/" org-directory)))
(citar-library-paths
(list
(expand-file-name "~/Documents/library/")))
:config
(require 'org)
(require 'nerd-icons)
(setopt org-cite-insert-processor 'citar
org-cite-follow-processor 'citar
org-cite-activate-processor 'citar)
(dolist (bibfile citar-bibliography)
(add-to-list 'org-cite-global-bibliography bibfile))
(defvar citar-indicator-files-icons
(citar-indicator-create
:symbol (nerd-icons-octicon
@ -1268,12 +1256,12 @@
(find-file org-default-notes-file))
(keymap-global-set "C-c w n" #'my/open-org-default-notes-file)
(defun my/open-global-bibliography ()
"Open `org-cite-global-bibliography'."
(defun my/open-citar-bibliography ()
"Open `citar-bibliography'."
(interactive)
(require 'citar)
(find-file (car org-cite-global-bibliography)))
(keymap-global-set "C-c w b" #'my/open-global-bibliography)
(find-file (car citar-bibliography)))
(keymap-global-set "C-c w b" #'my/open-citar-bibliography)
(defun my/configure-theme ()
"Load theme and configure some faces."