Update citar keybinds for org-mode
This commit is contained in:
parent
1fee447368
commit
c05e00f127
15
init.el
15
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)
|
||||
(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
|
||||
(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
|
||||
(citar-library-paths
|
||||
(list
|
||||
(expand-file-name "citar/library/" org-directory)))
|
||||
(citar-notes-paths (list
|
||||
(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)
|
||||
|
|
Loading…
Reference in a new issue