summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2022-07-23 23:25:53 -0400
committerKyle Meyer <kyle@kyleam.com>2022-11-26 21:45:14 -0500
commit6afa7d75e4f5f4c7008216664cdbc3532fb88085 (patch)
treefa44cd1e6c756b78838560d34b8bfae081118595
parentafe89ce8b368f92ce3dc80529dbcfb285115b345 (diff)
downloademacs.d-6afa7d75e4f5f4c7008216664cdbc3532fb88085.tar.gz
init.el: Configure denote
-rw-r--r--init.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/init.el b/init.el
index 9609d38..09d6207 100644
--- a/init.el
+++ b/init.el
@@ -1743,6 +1743,15 @@
:config
(add-hook 'rst-mode-hook #'flyspell-mode))
+(use-package denote
+ :bind (("C-c d d" . denote)
+ ("C-c d t" . denote-type))
+ :config
+ (setq denote-directory
+ (expand-file-name (file-name-as-directory
+ (format-time-string "~/notes/%Y"))))
+ (setq denote-file-type 'text))
+
;;; Language modes