+(require-package 'ivy)
+(setq ivy-use-virtual-buffers t)
+(setq ivy-virtual-abbreviate 'full)
+(setq ivy-re-builders-alist '((t . ivy--regex-fuzzy)))
+(setq ivy-height 12)
+(setq ivy-display-style 'fancy)
+(setq ivy-initial-inputs-alist nil)
+
+
 (require-package 'swiper)
 (after 'swiper
   (defadvice swiper (before dotemacs activate)

        ((executable-find "ack")
         (setq counsel-ag-base-command "ack --nogroup --nocolor %S"))))


(setq ivy-use-virtual-buffers t)
(setq ivy-re-builders-alist '((t . ivy--regex-fuzzy)))
(setq ivy-height 12)
(setq ivy-display-style 'fancy)

(defun my-ivy-mini ()
  (interactive)

(defun my-switch-engine-as-ivy (on)
  (if on
      (progn
        (counsel-mode t)
        (ivy-mode t))
    (counsel-mode -1)
    (ivy-mode -1)))

(when (eq dotemacs-switch-engine 'ivy)
