From c05e00f127517e6e2a61c98005083aaa263fbe50 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 23 May 2024 07:42:34 +0100 Subject: [PATCH] Update citar keybinds for org-mode --- init.el | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/init.el b/init.el index 9cff134..2952e43 100644 --- a/init.el +++ b/init.el @@ -718,28 +718,33 @@ (org-noter-auto-save-last-location t) (org-noter-default-notes-file-names '("noter.org")) (org-noter-doc-property-in-notes t) - (org-noter-notes-search-path (list (expand-file-name "notes" org-directory) - (car citar-notes-paths))) + (org-noter-notes-search-path + (list (expand-file-name "notes" org-directory) + (car citar-notes-paths))) (org-noter-prefer-root-as-file-level nil)) (use-package citar :after org :custom - (org-cite-global-bibliography (list - (expand-file-name "citar/main.bib" org-directory))) + (org-cite-global-bibliography + (list + (expand-file-name "citar/main.bib" org-directory))) (org-cite-insert-processor 'citar) (org-cite-follow-processor 'citar) (org-cite-activate-processor 'citar) (citar-bibliography org-cite-global-bibliography) - (citar-library-paths (list - (expand-file-name "citar/library/" org-directory))) - (citar-notes-paths (list - (expand-file-name "citar/notes/" org-directory))) + (citar-library-paths + (list + (expand-file-name "citar/library/" org-directory))) + (citar-notes-paths + (list + (expand-file-name "citar/notes/" org-directory))) :hook (LaTeX-mode . citar-capf-setup) (org-mode . citar-capf-setup) :bind ( :map org-mode-map - ("C-c c" . citar-open)) + ("C-c c d" . citar-dwim) + ("C-c c c" . citar-insert-citation)) :config (require 'nerd-icons) (require 'citar-embark)