diff --git a/home/emacs.nix b/home/emacs.nix index 2e7c726..d307cff 100644 --- a/home/emacs.nix +++ b/home/emacs.nix @@ -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"; - "" = "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 = ''