summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-04-25 00:13:53 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2012-04-25 00:23:26 +0200
commit088681cfcdc2b6a7b845873f6a0881510b4508f4 (patch)
treed5b5397d8cbea3ba773de6fb6c58c1496a5c7d44
parentfdc1028cfd9e6563dbbe950cdd539559ce8d6353 (diff)
downloaddotfiles-088681cfcdc2b6a7b845873f6a0881510b4508f4.tar.gz
dotfiles-088681cfcdc2b6a7b845873f6a0881510b4508f4.tar.xz
dotfiles-088681cfcdc2b6a7b845873f6a0881510b4508f4.zip
emacs: added org-mode configuration
-rw-r--r--emacs15
1 files changed, 14 insertions, 1 deletions
diff --git a/emacs b/emacs
index 408ea6d..a653a60 100644
--- a/emacs
+++ b/emacs
@@ -345,6 +345,19 @@ If this is set during find-file, flyspell mode gets enabled automaticaly.")
(add-hook 'js-mode-hook
(lambda () (flymake-mode t))))
+;; org-mode
+(when (require 'org nil 'noerror)
+ (progn
+ (setq org-todo-keywords
+ '((sequence "TODO(t)" "PROGRESS(p!)" "WAIT(w@/!)" "|"
+ "CANCELED(c@/!)" "DONE(d!)")))
+
+ (setq org-todo-keyword-faces
+ '(("TODO" . org-warning) ("PROGRESS" . "yellow")
+ ("CANCELED" . (:foreground "blue" :weight bold))))
+ (setq org-startup-folded 'content)
+ (setq org-startup-indented t)))
+
;; promela-mode
(when (require 'promela-mode nil 'noerror)
(setq auto-mode-alist
@@ -381,4 +394,4 @@ If this is set during find-file, flyspell mode gets enabled automaticaly.")
(setq deft-extension "org"
deft-directory "~/.org/deft/"
deft-text-mode 'org-mode)
- (global-set-key (kbd "<f9>") 'deft)) \ No newline at end of file
+ (global-set-key (kbd "<f9>") 'deft))