summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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