diff --git a/common/_global.el b/common/_global.el index c3f3e65..658861e 100644 --- a/common/_global.el +++ b/common/_global.el @@ -261,6 +261,11 @@ ; org mode - multiple agenda buffers (setq org-agenda-sticky t) +; org show file name in refile, also allows refiling to the file as a top level headline +(setq org-refile-use-outline-path 'file) +(setq org-outline-path-complete-in-steps nil) +(setq org-refile-allow-creating-parent-nodes 'confirm) + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; set font for emoji -- DOES NOT WORK ON MOBILE (when (eq system-type 'windows-nt) diff --git a/org/config-org-agendas.el b/org/config-org-agendas.el index 24f0b66..45f986a 100644 --- a/org/config-org-agendas.el +++ b/org/config-org-agendas.el @@ -98,6 +98,11 @@ )) ) +; use *all* org agenda files as refile targets +(setq org-refile-targets + '((nil :maxlevel . 3) + (org-agenda-files :maxlevel . 3))) + (require 'org-super-agenda) (org-super-agenda-mode)