Put citar/org-cite under the org mnemonic bind set

Fix citar-embark not actually being set anywhere
This commit is contained in:
Evie Litherland-Smith 2024-02-15 13:38:16 +00:00
parent 0c51683cf7
commit 7ec062a876

View file

@ -169,10 +169,11 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
:hook :hook
(LaTeX-mode . citar-capf-setup) (LaTeX-mode . citar-capf-setup)
(org-mode . citar-capf-setup) (org-mode . citar-capf-setup)
:bind (("C-c r r" . citar-open) :bind (("C-c o c" . citar-open)
:map org-mode-map :package org :map org-mode-map :package org
("C-c r i" . #'org-cite-insert)) ("C-c o C-c" . #'org-cite-insert))
:config :config
(require 'citar-embark)
(defvar citar-indicator-files-icons (defvar citar-indicator-files-icons
(citar-indicator-create (citar-indicator-create
:symbol (nerd-icons-octicon :symbol (nerd-icons-octicon
@ -220,11 +221,11 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
:ensure t :ensure t
:diminish :diminish
:after (citar embark) :after (citar embark)
:config :init
(citar-embark-mode +1)) (citar-embark-mode +1))
#+end_src #+end_src
** LaTeX * LaTeX
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq org-latex-compiler "lualatex") (setq org-latex-compiler "lualatex")
(setq org-preview-latex-default-process 'dvisvgm) (setq org-preview-latex-default-process 'dvisvgm)