202412231734942458
This commit is contained in:
parent
49797f54ce
commit
f79ba355c4
5 changed files with 39 additions and 14 deletions
|
@ -91,6 +91,17 @@
|
|||
(append org-agenda-files
|
||||
(directory-files-recursively "~/org/braindump/" "\\.org$")))
|
||||
|
||||
(setq org-refile-targets '((org-agenda-files :maxlevel . 1)))
|
||||
(setq org-refile-use-cache t)
|
||||
|
||||
;; clear cache every 5 minutes
|
||||
(run-with-idle-timer 300 t (lambda ()
|
||||
(org-refile-cache-clear)
|
||||
(org-refile-get-targets)))
|
||||
|
||||
(use-package org
|
||||
:commands org-refile-cache-clear)
|
||||
|
||||
(use-package org-roam
|
||||
;; :ensure nil
|
||||
:custom
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue