blob: f61b6b3c11a0eda9625c8b97eb1e978d46a93b75 (
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
|
(defvar fcuny/org-directory "~/notes")
(use-package org
:mode ("\\.org$" . org-mode)
:ensure t
:bind ("C-c c" . org-capture)
:config
(progn
(add-hook 'org-mode-hook #'toggle-word-wrap)
(org-babel-do-load-languages
'org-babel-load-languages
'((scheme . t)
(sh . t)
(calc . t))))
:init
(setq org-startup-indented t
org-src-fontify-natively t
org-src-tab-acts-natively t
org-confirm-babel-evaluate nil
org-directory fcuny/org-directory
org-default-notes-file (concat org-directory "/refile.org")
org-refile-targets '((org-agenda-files . (:maxlevel . 6)))
org-todo-keywords '((sequence "TODO(t)" "DOING(i!)" "WAITING(w!)" "|" "DONE(d!)" "CANCEL(c!)"))
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")
("gdoc" . "https://docs.google.com/document/d/%s")
("gsheet" . "https://docs.google.com/spreadsheets/d/%s"))
org-capture-templates '(("t" "Todo" entry (file+headline (concat org-directory "/refile.org") "Tasks")
"* TODO %?\n %i")
("m" "Meeting" entry (file+headline (concat org-directory "/twitter.org") "Meetings")
"* %T %?\n %i")
("q" "Quick Note" entry (file+headline (concat org-directory "/refile.org") "Notes")
"* %T %?\n %i"))
org-agenda-files (list (concat org-directory "/twitter.org")
(concat org-directory "/personal.org")
(concat org-directory "/notebook.org"))))
(provide 'core-org)
|