summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2018-12-21 11:17:12 +0100
committerAlan Pearce2018-12-21 11:17:12 +0100
commit0852a328d7ca0622b66d8fa134101e5a7d42c4da (patch)
tree1c478e59a848c62e92278aacd18b8df85fbbc799
parent1e9c3de62e6cbdcdd344c51ce60ceafa80e3e830 (diff)
downloaddotfiles-0852a328d7ca0622b66d8fa134101e5a7d42c4da.tar.lz
dotfiles-0852a328d7ca0622b66d8fa134101e5a7d42c4da.tar.zst
dotfiles-0852a328d7ca0622b66d8fa134101e5a7d42c4da.zip
Emacs: search hidden files with counsel-ag
-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 85f7042..9421e85 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