     (format-all-buffer)))
 (define-key evil-normal-state-map (kbd ",,") 'meain/auto-format)
 
-;; Yank highlights
-(use-package volatile-highlights
-  :ensure t
-  :init (progn
-	  (volatile-highlights-mode t)
-	  (vhl/define-extension 'evil 'evil-yank 'evil-yank-line
-				'evil-delete 'evil-paste-after)
-	  (vhl/install-extension 'evil)))
-
 ;; Projectile
-;; (use-package projectile
-;;   :ensure t
-;;   :config (progn
-;; 	    (defun meain/fuzzy-file-open ()
-;; 	      "Switch between helm and projectil based on directory."
-;; 	      (interactive)
-;; 	      (if (string= (shell-command-to-string (concat "git -C " default-directory " rev-parse"))
-;; 			   "")
-;; 		  (projectile-find-file)
-;; 		(helm-recentf)))
-;; 	    (evil-leader/set-key "f" 'meain/fuzzy-file-open)))
+(use-package projectile
+  :ensure t
+  :diminish :init
+  (projectile-mode +1))
 
 ;; Magit
 ;; (use-package magit
 ;;   :ensure t
-;;   :init (evil-leader/set-key "g" 'magit-status))
+;;   :init
+;;   (evil-leader/set-key "g" 'magit-status))
 
 ;; Flycheck
 (use-package flycheck

  :ensure t
  :init (load-theme 'modus-operandi t))

;; Persistant undo
(use-package undo-tree
  :ensure t
  :init (progn
	  (global-undo-tree-mode)
	  (setq undo-tree-auto-save-history t)
	  (setq undo-tree-history-directory-alist '(("." . "~/.emacs.d/undo")))))

;;; [evil packages] =================================================


			default))
 '(flycheck-checker-error-threshold 1000)
 '(helm-completion-style 'emacs)
 '(package-selected-packages '(neotree diminish lsp-ivy lsp-ui lsp-mode
				       company flx lua-mode counsel ivy projectile
				       sane-term try drag-stuff diff-hl flycheck
				       magit evil-surround volatile-highlights shell-pop
				       evil-commentary rust-mode modus-operandi-theme
