Skip to content

Instantly share code, notes, and snippets.

@deadghost
Created August 13, 2014 19:55
Show Gist options
  • Save deadghost/0655e80702d7e0e9273a to your computer and use it in GitHub Desktop.
Save deadghost/0655e80702d7e0e9273a to your computer and use it in GitHub Desktop.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; org-mode ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; org-mode
(require 'org)
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(setq org-startup-folded nil)
;; hl-line-mode messes with TODO background colors
(make-variable-buffer-local 'global-hl-line-mode)
(add-hook 'org-mode-hook (lambda () (setq global-hl-line-mode nil)))
(add-hook 'org-mode-hook (lambda () (org-indent-mode t)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment