 (global-set-key (kbd "C-x b") 'helm-buffers-list)
 
 ;; configure projectile
+(setq projectile-keymap-prefix (kbd "C-c p"))
 (require 'projectile)
 (projectile-global-mode)
 (setq projectile-completion-system 'helm)
 (setq projectile-switch-project-action 'projectile-dired)
+(setq projectile-indexing-method 'hybrid)
+
 
 ;; configure helm-projectile
 (require 'helm-projectile)


;; account for windows
(if (equal system-type 'windows-nt)
    (progn (setq explicit-shell-file-name "cmdproxy.exe")
           (setq explicit-sh.exe-args '("/K" "C:/Users/prak/Anaconda/Scripts/activate.bat C:/Users/prak/Anaconda"))
           (setq shell-file-name explicit-shell-file-name)
           (setenv "SHELL" shell-file-name)
           (add-hook 'comint-output-filter-functions 'comint-strip-ctrl-m)
           (setq tramp-default-method "ssh")
           (setq vc-git-program "C:\\cmder\\vendor\\git-for-windows\\bin\\git.exe")))

;; disable project-persist
(require 'project-persist)

;; Javascript customizations
(require 'flycheck)
(add-to-list 'auto-mode-alist '("\\.jsx?$" . web-mode))
(setq web-mode-content-types-alist '(("jsx" . "\\.js[x]?\\'")))

(add-hook 'web-mode-hook '(lambda()
                            (setq web-mode-markup-indent-offset 2)
                            (setq web-mode-code-indent-offset 2)))
(add-hook 'web-mode-hook 'emmet-mode)
(setq-default flycheck-disabled-checkers
              (append flycheck-disabled-checkers
                      '(javascript-jshint json-jsonlist)))

(flycheck-add-mode 'javascript-eslint 'web-mode)

(setq js-indent-level 2)
