                              '("--noheading" ; no file names above matching content
                                "--nocolor"
                                "%S"))
-                     " "))
-
-    (ivy-set-actions
-     'counsel-find-file
-     `(("x"
-        (lambda (x) (delete-file (expand-file-name x ivy--directory)))
-        ,(propertize "delete" 'face 'font-lock-warning-face))))))
+                     " "))))
 
 
 (provide 'setup-counsel)

;; Time-stamp: <2016-03-04 13:14:25 kmodi>

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


           "\\(?:\\`[#.]\\)"
           ;; file names ending with # or ~
           "\\|\\(?:\\`.+?[#~]\\'\\)"))
    (ivy-set-actions
     'counsel-find-file
     `(("x"
        (lambda (x) (delete-file (expand-file-name x ivy--directory)))
        ,(propertize "delete" 'face 'font-lock-warning-face))))

    ;; counsel-ag
    ;; Redefine `counsel-ag-base-command' with my required options, especially
    ;; the `--follow' option to allow search through symbolic links.
    (setq counsel-ag-base-command
