summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-05-12 12:51:02 -0700
committerFranck Cuny <fcuny@twitter.com>2019-05-12 12:51:02 -0700
commit85136b14df8f2bd921abae0173321ccf1e600ed6 (patch)
treebfc2c8531c0cb40986d85d070e0ae1261792b001
parent[emacs] fix refile for org-mode with swiper (diff)
downloademacs.d-85136b14df8f2bd921abae0173321ccf1e600ed6.tar.gz
[emacs] Fix some org-mode templates
-rw-r--r--emacs.d/custom/fcuny-org.el21
1 files changed, 17 insertions, 4 deletions
diff --git a/emacs.d/custom/fcuny-org.el b/emacs.d/custom/fcuny-org.el
index 389a095..8a351dc 100644
--- a/emacs.d/custom/fcuny-org.el
+++ b/emacs.d/custom/fcuny-org.el
@@ -80,14 +80,27 @@
    `(;; templates for general references, links, etc. They can be relevant for both work and personal learning.
      ("r" "Reference" entry
       (file+headline ,(concat org-directory "/notes.org") "Reference")
-      "* %^{TITLE}\n%?")
+      "* %^{TITLE} %^G\n%?")
      ("e" "Event" entry
       (file+headline ,(concat org-directory "/notes.org") "Event")
-      "* %^{EVENT}\n%?")
+      "* %^{EVENT}\n
+:PROPERTIES:
+:CREATED: %U
+:Location: %^{prompt}
+:END:
+%?")
+
+     ("b" "Bookmark" entry
+      (file+headline ,(concat org-directory "/notes.org") "Bookmarks")
+      "* %(fcuny/get-page-title (current-kill 0)) %^g
+:PROPERTIES:
+:ReadLater: %^{read later|Yes|No}
+:Effort: %^{effort|1:00|0:05|0:15|0:30|2:00|4:00|5:00}
+:END:\n")
 
      ;; templates for personal things only.
      ("t" "Personal Todo" entry
-      (file+headline ,(concat org-directory "/personal/tasks.org") "New")
+      (file+headline ,(concat org-directory "/personal/tasks.org") "Personal tasks")
       "* TODO [#4] %?\n")
      ("j" "Personal Journal" entry
       (file+olp+datetree ,(concat org-directory "/personal/journal.org"))
@@ -102,7 +115,7 @@
 
      ;; templates for work related things only.
      ("T" "Work Todo" entry
-      (file+headline ,(concat org-directory "/twitter/tasks.org") "New")
+      (file+headline ,(concat org-directory "/twitter/tasks.org") "Twitter related tasks")
       "* TODO [#4] %?\n")
      ("J" "Work Journal" entry
       (file+olp+datetree ,(concat org-directory "/twitter/journal.org"))