summary refs log tree commit diff
path: root/emacs.d
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-05-03 07:19:57 -0700
committerFranck Cuny <fcuny@twitter.com>2019-05-03 07:19:57 -0700
commitf380fd32146e840ebfeb516f0a0047614051d77d (patch)
treed1ee3d8474682c6738974f1e5ba30a9e20c1f465 /emacs.d
parent[emacs] enable pretty entities in org (diff)
downloademacs.d-f380fd32146e840ebfeb516f0a0047614051d77d.tar.gz
[emacs] org mode templates
Diffstat (limited to 'emacs.d')
-rw-r--r--emacs.d/custom/fcuny-org.el29
1 files changed, 12 insertions, 17 deletions
diff --git a/emacs.d/custom/fcuny-org.el b/emacs.d/custom/fcuny-org.el
index e967e7f..65c7a1f 100644
--- a/emacs.d/custom/fcuny-org.el
+++ b/emacs.d/custom/fcuny-org.el
@@ -71,52 +71,47 @@
 
   (org-capture-templates
    `(;; templates for general references, links, etc. They can be relevant for both work and personal learning.
-     ("b" "Bookmark" entry
-      (file+headline ,(concat org-directory "/notes.org") "Bookmark")
-      "* TODO %^{LINK}\n%?\n:PROPERTIES:\n:CREATED: %U\n:END:\n"
-      :empty-lines 1)
      ("r" "Reference" entry
       (file+headline ,(concat org-directory "/notes.org") "Reference")
-      "* %^{TITLE}\n%?\n:PROPERTIES:\n:CREATED: %U\n:END:\n"
-      :empty-lines 1)
+      "* %^{TITLE}\n%?")
      ("e" "Event" entry
       (file+headline ,(concat org-directory "/notes.org") "Event")
-      "* %^{EVENT}\n%?\n:PROPERTIES:\n:CREATED: %U\n:END:\n"
-      :empty-lines 1)
+      "* %^{EVENT}\n%?")
 
      ;; templates for personal things only.
      ("t" "Personal Todo" entry
       (file+headline ,(concat org-directory "/personal/tasks.org") "New")
-      "* TODO %?\n")
+      "* TODO [#4] %?\n")
      ("j" "Personal Journal" entry
       (file+olp+datetree ,(concat org-directory "/personal/journal.org"))
       "* %U %?\n"
-      :empty-lines 1 :tree-type week)
+      :tree-type week)
 
      ;; personal weekly review
      ("w" "Weekly Review" entry
       (file+olp+datetree ,(concat org-directory "/personal/reviews.org"))
       (file ,(concat fcuny/path-emacs-etc "/weekly_review.org"))
-      :tree-type week)
+      :tree-type week :jump-to-captured t)
 
      ;; templates for work related things only.
      ("T" "Work Todo" entry
       (file+headline ,(concat org-directory "/twitter/tasks.org") "New")
-      "* TODO %?\n")
+      "* TODO [#4] %?\n")
      ("J" "Work Journal" entry
       (file+olp+datetree ,(concat org-directory "/twitter/journal.org"))
       "* %U %?\n"
-      :empty-lines 1 :tree-type week)
+      :tree-type week)
+     ("m" "Meeting (inbox)" entry
+      (file ,(concat org-directory "/twitter/inbox.org"))
+      "* %U %^{TITLE}\n%?")
      ("M" "Meeting" entry
       (file+olp+datetree ,(concat org-directory "/twitter/meetings.org"))
-      "* %U %^{TITLE}\n%?\n"
-      :empty-lines 1)
+      "* %U %^{TITLE}\n%?")
 
      ;; refile!
      ("I" "Inbox, refile later" entry
       (file ,(concat org-directory "/inbox.org"))
-      "\n* %?\n:PROPERTIES:\n:CREATED: %U\n:END:\n"
-      :empty-lines 1))))
+      "* %?"))))
 
 (use-package htmlize
   :ensure t)