 		      clojure-mode
 		      magit
 		      paredit
-		      paxedit))
+		      paxedit
+		      web-mode))
 (dolist (p my-packages)
   (when (not (package-installed-p p))
     (package-install p)))

(add-to-list 'auto-mode-alist '("\\.text\\'" . markdown-mode))
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode))
(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))

;; Configuration customizations for running under tmux
;; Found @ 

; Mark the timestamp a task completed
(setq org-log-done 'time)

;;; Web Mode
;;; (the super-primitive/I-haven't-watched-intro-video version)
(add-to-list 'auto-mode-alist '("\\.phtml\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.tpl\\.php\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.[agj]sp\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.as[cp]x\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.erb\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.mustache\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.djhtml\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.hbs\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
;; Keep around for copy/pasting future file extensions
(when nil (add-to-list 'auto-mode-alist '("\\.\\'" . web-mode)))

;;; Some conveniences
(setq-default indent-tabs-mode nil)
(setq tab-width 4)
(setq default-buffer-file-coding-sstem 'utf-8-unix)
(add-hook 'before-save-hook 'delete-trailing-whitespace)

;;; htmlize
;; TODO: How do I use external CSS?
(autoload 'htmlize-buffer "htmlize" 
