Setup refiling in org-mode
This commit is contained in:
parent
003c955ad9
commit
9e0f0d4352
1 changed files with 13 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 2021.0215.163512
|
;; Version: 2021.0216.224209
|
||||||
;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org-plus-contrib org-bullets org-edna diminish all-the-icons org-journal org-roam)
|
;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org-plus-contrib org-bullets org-edna diminish all-the-icons org-journal org-roam)
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -471,6 +471,18 @@ After running it once remove it from `org-capture-after-finalize-hook'."
|
||||||
(org-goto-first-child)
|
(org-goto-first-child)
|
||||||
(list (point-marker))))
|
(list (point-marker))))
|
||||||
|
|
||||||
|
;;; Refile
|
||||||
|
|
||||||
|
;; Set it up so that I can refile easily and still create new nodes when I
|
||||||
|
;; refile. Include the file in the outline path so that I can refile into them
|
||||||
|
;; and create top-level headings.
|
||||||
|
(setq org-refile-use-outline-path 'file
|
||||||
|
org-outline-path-complete-in-steps nil
|
||||||
|
org-refile-allow-creating-parent-nodes 'confirm
|
||||||
|
org-log-refile 'time)
|
||||||
|
|
||||||
|
(setq org-refile-targets '((org-default-notes-file . (:maxlevel . 10))))
|
||||||
|
|
||||||
;;; org-journal
|
;;; org-journal
|
||||||
|
|
||||||
(setq org-journal-dir (expand-file-name "~/documents/org/journal/"))
|
(setq org-journal-dir (expand-file-name "~/documents/org/journal/"))
|
||||||
|
|
Loading…
Reference in a new issue