summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2018-12-21 11:17:12 +0100
committerAlan Pearce2018-12-21 11:17:12 +0100
commit0852a328d7ca0622b66d8fa134101e5a7d42c4da (patch)
tree1c478e59a848c62e92278aacd18b8df85fbbc799 /emacs
parent1e9c3de62e6cbdcdd344c51ce60ceafa80e3e830 (diff)
downloadnixfiles-0852a328d7ca0622b66d8fa134101e5a7d42c4da.tar.lz
nixfiles-0852a328d7ca0622b66d8fa134101e5a7d42c4da.tar.zst
nixfiles-0852a328d7ca0622b66d8fa134101e5a7d42c4da.zip
Emacs: search hidden files with counsel-ag
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 85f7042e..9421e855 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -1361,6 +1361,7 @@ With two prefix arguments, write out the day and month name."
             (bind-key "M-y" #'counsel-yank-pop)
             (bind-key "C-x i" #'counsel-imenu)
             (bind-key "M-y" #'ivy-next-line ivy-minibuffer-map)
+            (setq counsel-ag-base-command "ag --nocolor --nogroup --hidden %s")
             (defadvice counsel-find-file (after find-file-sudo activate)
               "Find file as root if necessary."
               (when (and buffer-file-name