summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-09-03 19:24:55 -0700
committerFranck Cuny <franck@fcuny.net>2024-09-03 19:24:55 -0700
commitf0a77595200150ce6684625a408b817230315a41 (patch)
tree8ed6f4fdc13eed85d1717d3da34b70269a89169b
parentsome more configuration for magit (diff)
downloademacs.d-f0a77595200150ce6684625a408b817230315a41.tar.gz
more denote stuff
-rw-r--r--config/init-notes.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/init-notes.el b/config/init-notes.el
index 7e6f5f5..0d393c4 100644
--- a/config/init-notes.el
+++ b/config/init-notes.el
@@ -9,6 +9,7 @@
 
 (use-package denote
   :ensure t
+  :hook (dired-mode . denote-dired-mode)
   :init
   (use-package denote-org-extras
     :ensure nil)
@@ -55,7 +56,8 @@
 
   ;; org-refile options
   (org-refile-allow-creating-parent-nodes (quote confirm))
-  (org-refile-targets '(("tasks.org" :maxlevel . 2)))
+  (org-refile-targets '(("tasks.org" :tag . "target")))
+  (org-refile-use-outline-path 'file)
 
   (org-hide-emphasis-markers t)
   (org-hide-leading-stars t)
@@ -104,6 +106,7 @@
   :bind
   ("C-c a" . org-agenda)
   :custom
+  (org-agenda-hide-tags-regexp (regexp-opt '("target")))
   (org-agenda-start-on-weekday 1))
   
 (use-package org-auto-tangle