 	("j" "Journal" entry (file+datetree "~/Dropbox/org/journal.org")
 	 "* %?\n%U\n")))
 
+;; iedit mode
 (require 'iedit)
 
-;; Enhance javascript mode with js2.
+;; js2 mode
 (autoload 'js2-mode "js2" nil t)
 (add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
 (setq js2-mirror-mode nil)
 
-;; Multi-web mode configuration
+;; Multi-web mode
 (require 'multi-web-mode)
 (setq mweb-default-major-mode 'html-mode)
 (setq mweb-tags '((php-mode "<\\?php\\|<\\? \\|<\\?=" "\\?>")

(require 'uniquify)
(setq uniquify-buffer-name-style 'post-forward-angle-brackets)

(load "auctex.el" nil t t)
(setq TeX-PDF-mode t)

(require 'autopair)
(add-hook 'term-mode-hook
	  #'(lambda ()

(autopair-global-mode)
(setq autopair-autowrap t)

;; yasnippet mode
(require 'yasnippet)
(yas/global-mode 1)

;; org mode
(require 'org-install)
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
(setq org-startup-indented t)
