diff options
-rw-r--r-- | init.el | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1722,7 +1722,11 @@ ("C-c d f" . km/find-file-with-denote-naming)) :config (setq denote-directory (expand-file-name "~/notes")) - (setq denote-file-type 'text)) + (setq denote-dired-directories (list denote-directory)) + (setq denote-file-type 'text) + + (with-eval-after-load 'dired + (add-hook 'dired-mode-hook #'denote-dired-mode-in-directories))) ;;; Language modes |