aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2021-03-12 01:29:46 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2021-03-12 01:29:46 +0900
commit30c213024223c72423cc318ac2458d5f53a1ad28 (patch)
treec97f82856c45756cc1e852557b8ea07c97a8079d
parent2aa109c260b01265deada4406a3f910eba4f5a24 (diff)
emacs: Update org-capture-templates
-rw-r--r--.emacs16
1 files changed, 7 insertions, 9 deletions
diff --git a/.emacs b/.emacs
index 79a9077..74d6d19 100644
--- a/.emacs
+++ b/.emacs
@@ -46,17 +46,15 @@
(set-face-attribute 'org-level-1 nil :height 1.3)
(set-face-attribute 'org-level-2 nil :height 1.2)
(set-face-attribute 'org-level-3 nil :height 1.1)))
-(setq org-capture-templates '(("t" "Tasks" entry (file+headline "" "Tasks")
- "* TODO %?\n %u\n %a"
+(setq org-capture-templates '(("c" "Note" entry (file+headline "" "Notes")
+ "* %?\n :PROPERTIES:\n :CREATED: %U\n :END:\n %u\n %a"
:empty-lines 1)
- ("n" "Note" entry (file+headline "" "Notes")
- "* %?\n %u\n %a"
+ ("l" "Log" entry (file "~/org/log.org")
+ "* %?\n :PROPERTIES:\n :CREATED: %U\n :END:\n"
:empty-lines 1)
- ("a" "記事" entry (file+headline "" "")
- "* %?\n %u\n %a"
- :empty-lines 1)
- ("j" "日記" entry (file+datetree "~/org/journal.org")
- "* %?\n %U\n")))
+ ("t" "Tasks" entry (file+headline "" "Tasks")
+ "* TODO %?\n :PROPERTIES:\n :CREATED: %U\n :END:\n %a"
+ :empty-lines 1)))
(setq org-todo-keywords
'((sequence "TODO(t)" "WAIT(w)" "|" "DONE(d)" "SOMEDAY(s)" "CANCELED(c)")))
(org-babel-do-load-languages