summary refs log tree commit diff
path: root/emacs.d/custom/fcuny-org.el
blob: fd7dc0c65902222c482422b20a537d0b416dea2e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
(use-package org
  :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 "~/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 (("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 "~/Documents/notebooks/twitter/todo.org" "New")
            "* TODO %?\n")
           ("d" "Diary" entry
            (file+olp+datetree "~/Documents/notebooks/personal/diary.org")
            "* %U %?\n" :tree-type week)
           ("D" "Work Diary" entry
            (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)