summary refs log tree commit diff
path: root/emacs.d/custom/fcuny-org.el
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-04-18 17:10:39 -0700
committerFranck Cuny <fcuny@twitter.com>2019-04-18 17:10:39 -0700
commit962948de4828569427477336320f521fd62f4532 (patch)
tree1a5fffe65c8def6134bc2d124da4298a6bab2c25 /emacs.d/custom/fcuny-org.el
parent[emacs] set my identity. (diff)
downloademacs.d-962948de4828569427477336320f521fd62f4532.tar.gz
[emacs] add a few more templates to org-mode.
Diffstat (limited to 'emacs.d/custom/fcuny-org.el')
-rw-r--r--emacs.d/custom/fcuny-org.el35
1 files changed, 28 insertions, 7 deletions
diff --git a/emacs.d/custom/fcuny-org.el b/emacs.d/custom/fcuny-org.el
index 8b47fa0..fd7dc0c 100644
--- a/emacs.d/custom/fcuny-org.el
+++ b/emacs.d/custom/fcuny-org.el
@@ -2,23 +2,44 @@
   :ensure t
   :hook ((org-mode . visual-line-mode)
          (org-mode . org-indent-mode))
+  :bind (("C-c c" . org-capture)
+         ("C-c a" . org-agenda))
   :custom
   (org-startup-indented t)
-  (org-directory "~/GDrive/notebooks")
+  (org-directory "~/Documents/notebooks")
   (org-default-notes-file (concat org-directory "/inbox.org"))
   (org-agenda-start-on-weekday 1)
+  (org-tags-column -120)
+  (org-link-abbrev-alist
+   '(("src"  . "~/workspace/%s")
+     ("jira" . "https://jira.twitter.biz/browse/%s")
+     ("ph"   . "https://phabricator.twitter.biz/%s")
+     ("go"   . "http://go/%s")))
+  (org-todo-keywoards
+   '((sequence "TODO(t)" "WAIT(w@/!)" "|" "Done(d!)" "Cancelled(c@)" "Someday(s)")))
   (org-capture-templates
-   (quote (("t" "Todo" entry
-            (file+headline "~/GDrive/notebooks/personal/todo.org" "New")
+   (quote (("b" "Bookmark" entry
+            (file+headline "~/Documents/notebooks/notes.org" "Bookmark")
+            "* TODO %?\n%i\n:PROPERTIES:\n:CREATED: %U\n:END:\n")
+           ("r" "Reference" entry
+            (file+headline "~/Documents/notebooks/notes.org" "Reference")
+            "* %?\n%i\n:PROPERTIES:\n:CREATED: %U\n:END:\n")
+           ("e" "Event" entry
+            (file+headline "~/Documents/notebooks/notes.org" "Event")
+            "* %?\n:PROPERTIES:\n:CREATED: %U\n:END:\n")
+           ("t" "Todo" entry
+            (file+headline "~/Documents/notebooks/personal/todo.org" "New")
             "* TODO %?\n")
            ("T" "Work Todo" entry
-            (file+headline "~/GDrive/notebooks/twitter/todo.org" "New")
+            (file+headline "~/Documents/notebooks/twitter/todo.org" "New")
             "* TODO %?\n")
            ("d" "Diary" entry
-            (file+olp+datetree "~/GDrive/notebooks/personal/diary.org")
+            (file+olp+datetree "~/Documents/notebooks/personal/diary.org")
             "* %U %?\n" :tree-type week)
            ("D" "Work Diary" entry
-            (file+olp+datetree "~/GDrive/notebooks/twitter/diary.org")
-            "* %U %?\n" :tree-type week)))))
+            (file+olp+datetree "~/Documents/notebooks/twitter/diary.org")
+            "* %U %?\n" :tree-type week)
+           ("I" "inbox, refile later" entry (file "~/Documents/notebooks/inbox.org")
+	   "\n* %?\n:PROPERTIES:\n:CREATED: %U\n:END:\n")))))
 
 (provide 'fcuny-org)