Change org directory layout to use a single inbox.org file again
Set org-mobile to also add captured content to inbox.org Remove emacs config from agenda files, todo add to refile targets though...
This commit is contained in:
parent
40da5f8700
commit
d8993960a6
|
@ -19,7 +19,11 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
|||
org-refile-use-outline-path t
|
||||
org-refile-allow-creating-parent-nodes t
|
||||
org-refile-use-outline-path 'file
|
||||
org-refile-targets '((nil :maxlevel . 2)))
|
||||
org-refile-targets '((nil . (:maxlevel . 2))))
|
||||
|
||||
;; Add emacs config files to `org-file-targets'
|
||||
;; Need to make this a bit more flexible at some point
|
||||
;; (add-to-list 'org-refile-targets (list ((locate-user-emacs-file "crafted.org") . (:maxlevel . 1))) t)
|
||||
|
||||
;; Visually indent org-mode files to a given header level
|
||||
(add-hook 'org-mode-hook #'org-indent-mode)
|
||||
|
@ -44,14 +48,14 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
|||
#+begin_src emacs-lisp :results output silent
|
||||
(setq org-capture-templates
|
||||
'(("n" "Note" entry
|
||||
(file+headline "notes.org" "Inbox")
|
||||
(file+headline "inbox.org" "Note")
|
||||
"* %?")
|
||||
("t" "Task" entry
|
||||
(file+headline "tasks.org" "Inbox")
|
||||
(file+headline "inbox.org" "Task")
|
||||
"* TODO %?"
|
||||
:prepend t)
|
||||
("r" "Reading List" entry
|
||||
(file+headline "reading.org" "Inbox")
|
||||
(file+headline "inbox.org" "Reading List")
|
||||
"* %?")
|
||||
("m" "Email Workflow")
|
||||
("mf" "Follow Up" entry (file+olp "mail.org" "Follow Up")
|
||||
|
@ -108,11 +112,9 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
|||
(todo . " %-12:c")
|
||||
(tags . " %-12:c")
|
||||
(search . " %-12:c"))
|
||||
org-agenda-files (list (expand-file-name org-directory)
|
||||
(locate-user-emacs-file "config")))
|
||||
org-agenda-files (list (expand-file-name org-directory)))
|
||||
|
||||
(add-to-list 'org-refile-targets '(org-agenda-files :maxlevel . 1) t)
|
||||
(add-to-list 'org-refile-targets '(org-agenda-files :tag . "inbox") t)
|
||||
(add-to-list 'org-refile-targets '(org-agenda-files . (:maxlevel . 2)) t)
|
||||
#+end_src
|
||||
|
||||
** Mobile agenda integration
|
||||
|
@ -122,7 +124,7 @@ Better syncing to mobile, for use with [[https://github.com/orgzly-revived/orgzl
|
|||
(setq org-mobile-directory "~/.orgmobile/"
|
||||
org-mobile-agendas nil
|
||||
org-mobile-files '(org-agenda-files)
|
||||
org-mobile-inbox-for-pull (expand-file-name "from-mobile.org" org-directory)
|
||||
org-mobile-inbox-for-pull (expand-file-name "inbox.org" org-directory)
|
||||
org-mobile-force-id-on-agenda-items nil)
|
||||
(add-hook 'org-capture-finalize-hook #'org-mobile-push))
|
||||
#+end_src
|
||||
|
|
Loading…
Reference in a new issue