summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2018-05-21 12:28:49 +0200
committerAlan Pearce2018-05-21 12:28:49 +0200
commit5c3e9460065fdf9a08e64b92823fe1bab05b4005 (patch)
tree1119c19ec85c26dfdb79d97d839b0501e0d43517 /emacs
parent9c4f9e89943bcf3eedb100b230db56e6274c3a51 (diff)
downloaddotfiles-5c3e9460065fdf9a08e64b92823fe1bab05b4005.tar.lz
dotfiles-5c3e9460065fdf9a08e64b92823fe1bab05b4005.tar.zst
dotfiles-5c3e9460065fdf9a08e64b92823fe1bab05b4005.zip
Emacs: Make ag also search hidden files
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index fae2b95..f2646fc 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -447,7 +447,9 @@
 
 (use-package ag
   :defer 30
-  :config (setq ag-project-root-function #'projectile-project-root))
+  :config (progn
+            (setq ag-project-root-function #'projectile-project-root)
+            (add-to-list 'ag-arguments "--hidden")))
 
 (use-package wgrep-ag
   :after ag)