Update org-mode configuration (habits and capture templates)
This commit is contained in:
parent
e8f5906c80
commit
90afafd3b5
1 changed files with 11 additions and 9 deletions
20
init.el
20
init.el
|
@ -399,6 +399,8 @@
|
||||||
|
|
||||||
(add-hook 'org-mode-hook #'visual-line-mode)
|
(add-hook 'org-mode-hook #'visual-line-mode)
|
||||||
|
|
||||||
|
(add-to-list 'org-modules 'habits)
|
||||||
|
|
||||||
;; Set to the location of your Org files on your local system
|
;; Set to the location of your Org files on your local system
|
||||||
(setq org-directory "~/notes")
|
(setq org-directory "~/notes")
|
||||||
|
|
||||||
|
@ -427,22 +429,22 @@
|
||||||
|
|
||||||
(setq org-capture-templates
|
(setq org-capture-templates
|
||||||
(quote
|
(quote
|
||||||
(("w" "Work" entry
|
(("w" "Work Task" entry
|
||||||
(file+olp "~/notes/planner.org" "Other")
|
(file+olp "~/notes/planner.org" "Other")
|
||||||
"*** TODO %?" :prepend t)
|
"** TODO %?")
|
||||||
("t" "Task" entry
|
("e" "Event" entry
|
||||||
|
(file+olp "~/notes/planner.org" "Other")
|
||||||
|
"** %?")
|
||||||
|
("t" "Personal Task" entry
|
||||||
(file+olp "~/notes/planner.org" "Personal")
|
(file+olp "~/notes/planner.org" "Personal")
|
||||||
"*** TODO %?" :prepend t)
|
"** TODO %?")
|
||||||
("j" "Journal Entry" entry
|
("j" "Journal Entry" entry
|
||||||
(file+datetree "~/notes/journal.org")
|
(file+datetree "~/notes/journal.org")
|
||||||
"* %T Log
|
"* %T Log
|
||||||
%?%i" :empty_lines 1)
|
%?%i" :empty_lines 1)
|
||||||
("p" "Project" entry
|
|
||||||
(file+olp "~/notes/planner.org" "Personal projects")
|
|
||||||
"" :prepend t)
|
|
||||||
("n" "Note" entry
|
("n" "Note" entry
|
||||||
(file+olp "~/notes/planner.org" "Notes")
|
(file+olp "~/notes/small_notes.org" "Work")
|
||||||
"** %?" :prepend t))))
|
"** %?"))))
|
||||||
(setq org-log-into-drawer t)
|
(setq org-log-into-drawer t)
|
||||||
(setq org-structure-template-alist
|
(setq org-structure-template-alist
|
||||||
(quote
|
(quote
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue