       (add-hook 'projectile-mode-hook 'projectile-rails-on)
       (projectile-global-mode)
       (setq projectile-enable-caching t)
-      (setq projectile-indexing-method 'native)
-      (add-to-list 'projectile-globally-ignored-directories "vendor")
+      ;; (setq projectile-indexing-method 'alien)
+      (add-to-list 'projectile-globally-ignored-directories "vendor/bundle")
+      (add-to-list 'projectile-globally-ignored-directories "node_modules")
       (add-to-list 'projectile-globally-ignored-directories "tmp")
       (add-to-list 'projectile-globally-ignored-directories "app/assets/images")
       (add-to-list 'projectile-globally-ignored-directories "app/assets/fonts")
       (setq projectile-globally-ignored-file-suffixes '(".png" ".jpg" ".gif" ".woff" ".woff2" ".ttf" ".cache"))
-      (setq tags-table-list (cons (concat (projectile-project-root) ".git") '()))
+      (setq tags-table-list (cons (concat (projectile-project-root) "TAGS") '()))
 
       (evil-leader/set-key
         "cr" 'projectile-rails-find-controller

(setq fci-rule-column 79)
(define-globalized-minor-mode global-fci-mode fci-mode (lambda () (fci-mode 1)))
(global-fci-mode 1)

;; Code Completion Mode
(add-hook 'after-init-hook 'global-company-mode)
(setq company-auto-complete t)

(nyan-mode 1)
(setq nyan-animate-nyancat nil)
(setq nyan-wavy-trail t)
(setq nyan-bar-length 32)
(nyan-start-animation)

(require 'evil)
(evil-mode 1)
(evil-ex-define-cmd "ls" 'ibuffer)


;; Use c++ mode for header files
(add-to-list 'auto-mode-alist '("\\.h\\'" . c++-mode))

(autoload 'scss-mode "scss-mode")
(add-to-list 'auto-mode-alist '("\\.scss\\'" . scss-mode))

(add-to-list 'auto-mode-alist '("\\.hb\\.html\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.tpl\\.php\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.erb\\'" . web-mode))
