setup org-refile to allow filing to root of an org-mode file as well as including *all* org-agenda-files as options ; adjustments to allow better helm completion were included in this (change org-outline-path-complete-in-steps for others if needed)
This commit is contained in:
parent
ad5a1b0aea
commit
b777182c81
|
@ -261,6 +261,11 @@
|
||||||
; org mode - multiple agenda buffers
|
; org mode - multiple agenda buffers
|
||||||
(setq org-agenda-sticky t)
|
(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
|
;; set font for emoji -- DOES NOT WORK ON MOBILE
|
||||||
(when (eq system-type 'windows-nt)
|
(when (eq system-type 'windows-nt)
|
||||||
|
|
|
@ -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)
|
(require 'org-super-agenda)
|
||||||
(org-super-agenda-mode)
|
(org-super-agenda-mode)
|
||||||
|
|
||||||
|
|
Reference in a new issue