summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/bd--notes.el
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs/modules/bd--notes.el')
-rw-r--r--.config/emacs/modules/bd--notes.el23
1 files changed, 13 insertions, 10 deletions
diff --git a/.config/emacs/modules/bd--notes.el b/.config/emacs/modules/bd--notes.el
index eaea365..ee17e38 100644
--- a/.config/emacs/modules/bd--notes.el
+++ b/.config/emacs/modules/bd--notes.el
@@ -32,10 +32,11 @@ then pastes the active region."
(advice-add 'scratch-buffer :after (lambda () (setq-local scratch-buffer t)))
(use-package denote
+ :defer 1
:hook
((dired-mode . denote-dired-mode-in-directories))
:bind (("H-d d" . 'denote)
- ("H-d f" . 'denote-open-or-create)
+ ("H-d f" . 'denote-open-or-create)
("H-d j" . 'denote-journal-extras-new-or-existing-entry)
:map org-mode-map
("C-c l" . 'denote-link))
@@ -58,15 +59,17 @@ KEYWORDS is a list of strings."
(string-join keywords "\" \""))
:config
(setopt denote-file-type 'org
- denote-known-keywords
- '("ss" "writing" "reading" "art"
- "csu" "umass" "cs" "guix"
- "emacs" "programs" "mem")
- denote-directory (expand-file-name "~/dc/")
- denote-prompts '(title file-type keywords)
- denote-dired-directories (list denote-directory)
- denote-journal-extras-directory (expand-file-name "~/dc/log")
- denote-journal-extras-title-format 'day-date-month-year))
+ denote-known-keywords
+ '("ss" "writing" "reading" "art"
+ "csu" "umass" "cs" "guix"
+ "emacs" "programs" "mem")
+ denote-directory (expand-file-name "~/dc/")
+ denote-prompts '(title file-type keywords)
+ denote-dired-directories (list denote-directory)
+ denote-journal-extras-directory (expand-file-name "~/dc/log")
+ denote-journal-extras-title-format 'day-date-month-year))
+
+(use-package anki-editor)
(provide 'bd--notes)