Deleted org-ref and added keyboard shortcut for org-cite.

This commit is contained in:
willemml 2023-03-02 17:03:06 -08:00
parent e1ead2df69
commit 1a7c9f0b54
Signed by: willemml
GPG key ID: C3DE5DF6198DACBD

View file

@ -763,7 +763,8 @@ in
bindLocal.org-mode-map = {
"C-c C-o" = "my/follow-org-link";
"C-c C-y" = "my/indent-org-block-automatically";
"<mouse-2>" = "my/follow-org-link";
"C-c ]" = "org-cite-insert";
};
};
@ -803,23 +804,6 @@ in
hook = [ "(org-mode . org-modern-mode)" ];
};
org-ref = {
enable = true;
after = [ "org" "ivy" ];
init = ''
; -*-emacs-lisp-*-
(setq org-ref-insert-cite-function
(lambda ()
(org-cite-insert nil)))
(setq org-ref-default-bibliography "${config.home.sessionVariables.ORGDIR}/zotero.bib")
(setq bibtex-completion-bibliography '("${config.home.sessionVariables.ORGDIR}/zotero.bib"))
(setq bibtex-completion-notes-path "${config.home.sessionVariables.ORGDIR}/notes.org")
(require 'org-ref)
(require 'org-ref-ivy)
'';
bindLocal.org-mode-map = { "C-c ]" = "org-ref-insert-link"; };
};
pdf-tools = {
enable = true;
init = ''