+;; Set font
+(set-default-font "monaco 12")
+
 (require 'package)
 
 (add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/"))

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

                          '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)
