 ;; TODO: Terminal/eshell/zsh.
 ;; TODO: Pandoc mode.
 ;; TODO: Use use-package to lazy load packages.
-;; TODO: Figure out how to gracefully stop emacs daemon on shutdown.
 ;; TODO: Emmet.
 ;; TODO: Learn elisp.
 ;; TODO: Expand region.

(add-to-list 'auto-mode-alist '("\\.pdf\\'" . pdf-view-mode))

;;; Theme.
(add-to-list 'custom-theme-load-path "~/.emacs.d/el-get/Emacs-Sunburst-Color-Theme")
(load-theme 'sunburst t)

;; TODO: Use variables for color codes.
(custom-set-faces
 ;; TODO: Remove this linum line sometime.
 `(linum ((t (:foreground, "#666"))))
 `(hl-line ((t (:background, "#222")))))

(set-face-attribute 'fringe nil :background "#222")
(set-face-attribute 'isearch nil :foreground "#111")
(set-face-attribute 'lazy-highlight nil :foreground "#111")
(set-face-attribute 'mode-line nil :background "#222" :foreground "#ddd")
(set-face-attribute 'mode-line-inactive nil :background "#222" :foreground "#666")
(set-face-attribute 'vertical-border nil :foreground "#111")
(set-face-attribute 'whitespace-tab nil :background "#420e09")
(set-face-attribute 'whitespace-trailing nil :background "#420e09")

(set-face-background 'show-paren-match "blue")
(set-face-foreground 'show-paren-match "#ddd")

(setq fci-rule-color "#222")

;;; Basic.
(setq auto-save-default nil)

;; TODO: RSS.

;;; Lower priority todos.
;; TODO: Use evil-mode-like keybindings for pdf-view-mode.
;; TODO: Get "Completion List", `list-packages`, "Compile-log" buffers to use
;; evil mode bindings.
;; TODO: Remove right fringe in pdf-view-mode.
;; TODO: Bittorrent client.
;; TODO: Export color theme configuration to scheme specific file.
;; TODO: Statusbar colors and customisation.
;; TODO: Highlight TODOs.
