mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-13 19:57:19 +00:00
Deleted org-ref and added keyboard shortcut for org-cite.
This commit is contained in:
parent
e1ead2df69
commit
1a7c9f0b54
1 changed files with 2 additions and 18 deletions
|
@ -763,7 +763,8 @@ in
|
||||||
bindLocal.org-mode-map = {
|
bindLocal.org-mode-map = {
|
||||||
"C-c C-o" = "my/follow-org-link";
|
"C-c C-o" = "my/follow-org-link";
|
||||||
"C-c C-y" = "my/indent-org-block-automatically";
|
"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)" ];
|
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 = {
|
pdf-tools = {
|
||||||
enable = true;
|
enable = true;
|
||||||
init = ''
|
init = ''
|
||||||
|
|
Loading…
Add table
Reference in a new issue