From 6afa7d75e4f5f4c7008216664cdbc3532fb88085 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 23 Jul 2022 23:25:53 -0400 Subject: init.el: Configure denote --- init.el | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- cgit v1.2.3