   :ensure t
   :diminish :init
   (projectile-mode +1))
-
-;; Magit
-;; (use-package magit
-;;   :ensure t
-;;   :init
-;;   (evil-leader/set-key "g" 'magit-status))
 
 ;; Flycheck
 (use-package flycheck

;; Diminish
(use-package diminish :ensure t)

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

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

;; Evil mode
(use-package evil

  :ensure t
  :init (global-evil-surround-mode 1))

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

;; Company for autocompletions
(use-package company
