                           '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 "SPC")
+(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)
 
-;; Start up helm
+;; Set up helm
 (require 'helm-config)
 (require 'helm-misc)
 (require 'helm-projectile)

(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.

Return a list of installed packages or nil for every skipped package."
  (mapcar
   (lambda (package)
     (if (package-installed-p package)
         nil
       (if (y-or-n-p (format "Package %s is missing. Install it? " package))
