       (ido-mode -1))
     ;; Enable ivy
     (ivy-mode 1)
+
     (setq ivy-use-virtual-buffers t)
-    (use-package counsel
-      :config
-      (progn
-        (setq counsel-find-file-at-point t)
-        (setq counsel-find-file-ignore-regexp
-              (concat
-               ;; file names beginning with # or .
-               "\\(?:\\`[#.]\\)"
-               ;; file names ending with # or ~
-               ;; but still allow backup files named like abc.el~timestamp~
-               "\\|\\(?:\\`[^~]+?[#~]\\'\\)"))
-        (bind-key "C-x C-f" #'counsel-find-file modi-mode-map)))
+
+    ;; (setq ivy-re-builders-alist '((t . ivy--regex-plus))) ; default
+    (setq ivy-re-builders-alist '((t . ivy--regex-fuzzy)))
+
     ;; overriding the `C-x C-o` binding with `delete-blank-lines'
     (bind-key "C-x C-o" #'ivy-recentf modi-mode-map)
     ;; Revert the default bindings to C-j and C-m



(provide 'setup-ivy)

;; Counsel
;; Peek at files with "C-M-n" and "C-M-p". Input a leading dot to see all files.

;; Time-stamp: <2015-06-10 13:19:00 kmodi>

;; Ivy (comes packaged with the `swiper' package)

