 	  (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
 
 ;;; ORG

(icot/leader-keys
  "b" '(:ignore t :which-key "buffer")
  "bb" '(ivy-switch-buffer :which-key "ivy-switch-buffer")
  "bv" '(ivy-switch-view :which-key "ivy-switch-view")
  "bt" '(ivy-view-push :which-key "ivy-view-push")
  "bT" '(ivy-view-pop :which-key "ivy-view-pop")
  "e" '(:ignore t :which-key "eval")
  "eb" '(eval-buffer :which-key "eval buffer")
  "el" '(eval-last-sexp :which-key "eval last sexp")

  "w_" '(evil-window-split :which-key "window split horizontal")
  "w|" '(evil-window-vsplit :which-key "window split vertical")
  "wn" '(evil-window-new :which-key "new window")
  ":" '(counsel-M-x :which-key "counsel-M-x")
  "/" '(counsel-rg :which-key "counsel-rg")
  ";" '(eval-expression :which-key "eval-expresion"))
