 (setq package-enable-at-startup nil)
 (package-initialize)
 
-(require 'evil)
-(evil-mode t)
-
 ;; Handle installing packages in emacs
 (defun ensure-package-installed (&rest packages)
   "Assure every package is installed, ask for installation if it’s not.

(require 'powerline)
(powerline-evil-vim-color-theme)
(display-time-mode t)

                          'projectile
                          'magit)

;; Evil mode
(require 'evil)
(evil-mode t)

;; Theme
(load-theme 'misterioso t)

;; Set up leader key in emacs
(setq evil-leader/in-all-states 1)
(global-evil-leader-mode)
(evil-leader/set-leader ",")

;; Vim like syntax hilighting
(require 'evil-search-highlight-persist)
(global-evil-search-highlight-persist t)
(evil-leader/set-key "/" 'evil-search-highlight-persist-remove-all)

;; Set up helm
(require 'helm-config)
(require 'helm-misc)
(require 'helm-projectile)
