   (define-key company-active-map (kbd "<tab>") 'company-complete-common-or-cycle)
   (define-key company-active-map (kbd "S-TAB") 'company-select-previous)
   (define-key company-active-map (kbd "<backtab>") 'company-select-previous))
-
-
-;; Project management
-(install-package-if-not-exist 'projectile)
-(projectile-global-mode)
-(setq projectile-completion-system 'helm)
-(setq projectile-switch-project-action 'helm-projectile)
-(setq projectile-enable-caching t)
 
 
 ;; Emacs incremental and narrowing framework; better than ido-mode

(install-package-if-not-exist 'evil)
(require 'evil)
(evil-mode 1)
(define-key evil-normal-state-map (kbd "C-u") 'evil-scroll-up)
(define-key evil-visual-state-map (kbd "C-u") 'evil-scroll-up)
(define-key evil-insert-state-map (kbd "jk") 'evil-normal-state)


;; Better powerline for evil
(install-package-if-not-exist 'powerline-evil)
(require 'powerline-evil)
(powerline-evil-vim-color-theme)

(require 'pyenv-mode)
(pyenv-mode)

(defun projectile-pyenv-mode-set-virtualenv ()
  "Set pyenv version matching project name."
  (let ((project (projectile-project-name)))
    (if (member project (pyenv-mode-versions))
        (pyenv-mode-set project)
      (pyenv-mode-unset))))

(defun projectile-pyenv-mode-set-version ()
  "Set pyenv version if .python-version file exists."
  (f-traverse-upwards
   (lambda (path)
