Emacs: Make ag also search hidden files
Alan Pearce alan@alanpearce.eu
Mon, 21 May 2018 12:28:49 +0200
1 files changed, 3 insertions(+), 1 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.emacs.d/main.el
@@ -447,7 +447,9 @@ ;;;;; The Silver Searcher (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)