org: change of the layout

This commit is contained in:
Grigory Shipunov 2020-11-13 17:27:26 +01:00
parent cb39553030
commit 7ca27dd31b
No known key found for this signature in database
GPG key ID: 77BB6C3E4771EE7C

12
init.el
View file

@ -212,18 +212,18 @@
org-startup-folded 'content) org-startup-folded 'content)
;; default agenda files ;; default agenda files
(setq org-agenda-files '("~/nextcloud/org/" (setq org-agenda-files '("~/nextcloud/org/"
"~/nextcloud/org-phone/" "~/nextcloud/org/phone/"
"~/Seafile/ORG/")) "~/Seafile/ORG/"))
;; templates ;; templates
(setq org-capture-templates (setq org-capture-templates
'(("t" "TODO" entry '(("t" "TODO" entry
(file+headline "~/nextcloud/org/random.org" "Tasks") (file+headline "~/nextcloud/org/inbox.org" "Tasks")
"** TODO %?\n %i") "** TODO %?\n %i")
("T" "TODO+file" entry ("T" "TODO+file" entry
(file+headline "~/nextcloud/org/random.org" "Tasks") (file+headline "~/nextcloud/org/inbox.org" "Tasks")
"** TODO %?\n %i\n %a") "** TODO %?\n %i\n %a")
("n" "note" entry ("n" "note" entry
(file+headline "~/nextcloud/org/random.org" "Notes") (file+headline "~/nextcloud/org/inbox.org" "Notes")
"** %U\n%?\n") "** %U\n%?\n")
("i" "IFW TODO" entry ("i" "IFW TODO" entry
(file+headline "~/Seafile/ORG/ifw.org" "Tasks") (file+headline "~/Seafile/ORG/ifw.org" "Tasks")
@ -238,6 +238,10 @@
(advice-add 'org-agenda-quit :before 'org-save-all-org-buffers) (advice-add 'org-agenda-quit :before 'org-save-all-org-buffers)
(advice-add 'org-capture-finalize :after 'org-save-all-org-buffers) (advice-add 'org-capture-finalize :after 'org-save-all-org-buffers)
;; refile everywhere where agenda lives
(setq org-refile-targets
'((nil :maxlevel . 1)
(org-agenda-files :maxlevel . 1)))
;; babel stuff ;; babel stuff
(org-babel-do-load-languages (org-babel-do-load-languages
'org-babel-load-languages 'org-babel-load-languages