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

(require-package 'swiper)
(after 'swiper
  (defadvice swiper (before dotemacs activate)

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