summaryrefslogtreecommitdiff
path: root/settings/setup-org-mode.el
blob: d4b236a75b596bea08916beb79101a7b92238c02 (plain)
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
;; Pretty bullets
(add-hook 'org-mode-hook (lambda() (org-bullets-mode 1)))

(custom-set-faces
 '(org-level-1 ((t (:inherit outline-1 :height 1.0))))
 '(org-level-2 ((t (:inherit outline-2 :height 1.0))))
 '(org-level-3 ((t (:inherit outline-3 :height 1.0))))
 '(org-level-4 ((t (:inherit outline-4 :height 1.0))))
 '(org-level-5 ((t (:inherit outline-5 :height 1.0)))))

(setq org-log-done 'time)
(setq org-src-fontify-natively t)
(setq org-src-tab-acts-natively t)
(setq org-todo-keywords
      '((sequence "TODO" "IN-PROGRESS" "BLOCKED" "DONE")))
(setq org-tag-alist
      '((:startgroup . nil)
	("blocker" . ?b)
	("!critical" . ?u)
	("!major" . ?m)
	("!minor" . ?n)
	("!trivial" . ?t)
	(:endgroup . nil)
	("@home" . ?h)
	("@store" . ?s)
	("@work" . ?w)
	("reading" . ?r)
	("studying" . ?s)
	("implementation" . ?i)))

(global-set-key (kbd "C-c a") 'org-agenda)

(org-babel-do-load-languages
 'org-babel-load-languages
 '((emacs-lisp . t)
   (python . t)))

(provide 'setup-org-mode)