blob: 0893a59b590de6d97073fc06e755a90b41027e9f (
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
|
(use-package org
:bind (("C-c a" . org-agenda)
("C-c c" . org-capture)
("C-c o" . org-iswitchb))
:config
(progn
(setq org-startup-indented t
org-return-follows-link t
org-blank-before-new-entry nil)
(add-hook 'org-mode-hook (lambda ()
(message "yup we're in the hook")
(org-indent-mode t)
(setq truncate-lines nil)))))
(setq org-todo-keywords
'((sequence "TODO" "IN-PROGRESS" "WAITING" "DONE")))
(setq org-link-abbrev-alist
'(("src" . "~/src/%s")
("jira" . "https://jira.twitter.biz/browse/%s")
("rb" . "https://reviewboard.twitter.biz/r/%s")
("go" . "http://go/%s")))
(setq org-default-notes-file "~/src/notes/org/inbox.org")
(setq org-agenda-files (list "~/src/notes/org/personal.org"
"~/src/notes/org/work.org"
"~/src/notes/org/inbox.org"))
(setq org-capture-templates
'(("t" "Todo" entry (file+headline "~/src/notes/org/inbox.org" "Tasks")
"* TODO %?\n%a")
("j" "Journal" entry (file+datetree "~/src/notes/org/journal.org")
"* %T\n%?")
("m" "Meeting" entry (file+headline "~/src/notes/org/inbox.org" "Meetings")
"* %^{prompt} %U\n%?")))
(setq org-refile-targets
'(("~/src/notes/org/work.org" :maxlevel . 2)
("~/src/notes/org/personal.org" :maxlevel . 2)))
(provide 'org-settings)
|