diff --git a/init.el b/init.el index 5cfd91d..5c7e08a 100644 --- a/init.el +++ b/init.el @@ -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."