                            web-mode
 
                            ; Misc
-                           smex
+                           exec-path-from-shell
+                           find-file-in-repository
                            ido-ubiquitous
-                           find-file-in-repository))
+                           smex))
+
+
 
 (when (not package-archive-contents)
   (package-refresh-contents))

;; Override disabled keys
(put 'downcase-region 'disabled nil)

;;; Load environment from shell
(when window-system
  (exec-path-from-shell-initialize))

;;; Javascript
(add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
(add-to-list 'auto-mode-alist '("\\.html$" . web-mode))
(add-to-list 'auto-mode-alist '("package\\.json" . json-mode))
(add-to-list 'auto-mode-alist '("\\.babelrc" . json-mode))
(add-hook 'js2-mode-hook
          (lambda ()
            (local-set-key (kbd "RET") 'newline-and-indent)
