summaryrefslogtreecommitdiff
path: root/emacs.d/custom/fcuny-org.el
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-04-30 15:51:48 -0700
committerFranck Cuny <fcuny@twitter.com>2019-04-30 15:51:48 -0700
commit7ec8a75a903eb7bb609939b549b629b1197654a2 (patch)
tree9b9200e613da553a8e7da916fbe305d7da9932f8 /emacs.d/custom/fcuny-org.el
parent[emacs] Ignore macos files when browsing. (diff)
downloademacs.d-7ec8a75a903eb7bb609939b549b629b1197654a2.tar.gz
[emacs] Add a template for weekly review.
In addition to the template, we introduce a new directory (etc) where this template will be. There's a new custom variable for the new path.
Diffstat (limited to 'emacs.d/custom/fcuny-org.el')
-rw-r--r--emacs.d/custom/fcuny-org.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs.d/custom/fcuny-org.el b/emacs.d/custom/fcuny-org.el
index 278529c..a9dcee8 100644
--- a/emacs.d/custom/fcuny-org.el
+++ b/emacs.d/custom/fcuny-org.el
@@ -1,3 +1,5 @@
+(require 'fcuny-vars)
+
(use-package org
:ensure t
@@ -89,6 +91,12 @@
"* %U %?\n"
:empty-lines 1 :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)
+
;; templates for work related things only.
("T" "Work Todo" entry
(file+headline ,(concat org-directory "/twitter/tasks.org") "New")