From 30c213024223c72423cc318ac2458d5f53a1ad28 Mon Sep 17 00:00:00 2001 From: Masaya Tojo Date: Fri, 12 Mar 2021 01:29:46 +0900 Subject: emacs: Update org-capture-templates --- .emacs | 16 +++++++--------- 1 file 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 -- cgit v1.2.3