[oni-org] Add my tickler file to my refile targets
This commit is contained in:
parent
e1ac10a008
commit
e7a0af01ab
1 changed files with 7 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||
;; Keywords: local
|
||||
;; Version: 2023.0604.153139
|
||||
;; Version: 2023.0604.153631
|
||||
;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org org-bullets org-edna diminish all-the-icons olivetti form-feed org-pretty-table)
|
||||
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
|
@ -78,6 +78,10 @@
|
|||
(expand-file-name "someday.org" oni-org-todo-dir)
|
||||
"The file for TODO notes I will want to do some day, but not today.")
|
||||
|
||||
(defconst oni-org-todo-tickler-file
|
||||
(expand-file-name "tickler.org" oni-org-todo-dir)
|
||||
"The tickler file for TODO notes of the future.")
|
||||
|
||||
;;; Fake org-roam -- oni-org-exocortex
|
||||
;; I tried using org-roam v2 with Orgro, but it didn’t work. I’ve only been
|
||||
;; using org-roam to more easily find and insert strings. The file renaming in
|
||||
|
@ -727,7 +731,8 @@ After running it once remove it from `org-capture-after-finalize-hook'."
|
|||
;; ‘oni-org-todo-main-file', and the top of ‘oni-org-todo-someday-file'.
|
||||
(setq org-refile-targets '((nil . (:maxlevel . 10))
|
||||
(oni-org-todo-main-file . (:maxlevel . 10))
|
||||
(oni-org-todo-someday-file . (:maxlevel . 1))))
|
||||
(oni-org-todo-someday-file . (:maxlevel . 1))
|
||||
(oni-org-todo-tickler-file . (:level . 1))))
|
||||
|
||||
(define-key org-mode-map (kbd "C-c C-S-w") #'oni-org-refile-to-top)
|
||||
|
||||
|
|
Loading…
Reference in a new issue