org: change of the layout
This commit is contained in:
parent
cb39553030
commit
7ca27dd31b
1 changed files with 8 additions and 4 deletions
12
init.el
12
init.el
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue