   :init
   (when (file-directory-p "~/workspace")
     (setq projectile-project-search-path '("~/workspace"
-					   "~/workspace/cerndb"
-					   "~/workspace/puppet"))))
+                                           "~/workspace/cerndb"
+                                           "~/workspace/puppet"))))
 
 (use-package counsel-projectile
   :ensure t

(use-package helpful)

;; ivy-views
(setq ivy-views
      `(("ivy.el {}"
	 (horz
	  (file ,(find-library-name "ivy"))
	  (buffer "*scratch*")))))

;; https://github.com/abo-abo/swiper/issues/1079
(defun icot/save-ivy-views ()
(interactive)
(with-temp-file "~/.emacs.d/ivy-views"
(prin1 ivy-views (current-buffer))
(message "save ivy-views to ~/.emacs.d/ivy-views")))

(defun icot/load-ivy-views ()
(interactive)
(setq ivy-views
(with-temp-buffer
(insert-file-contents "~/.emacs.d/ivy-views")
(read (current-buffer))))
(message "load ivy-views"))

;;;; Tools



(use-package counsel
  :bind (("M-x" . counsel-M-x)
         ("C-x b" . counsel-ibuffer)
         ("C-x C-f" . counsel-find-file)
         ("C-h C-t" . counsel-load-theme)
         :map minibuffer-local-map
         ("C-r" . counsel-minibuffer-history))
  :config
  (setq ivy-initial-inputs-alist nil)) ;; Don't start searches with ^

