all repos — archive/dotfiles @ 0215082efed3c5dba12d21d5d59c4d8ca12819c0

Superseded by nixfiles

Emacs: Search hidden files with ripgrep
Alan Pearce alan@alanpearce.eu
Thu, 22 Mar 2018 14:56:35 +0100
commit

0215082efed3c5dba12d21d5d59c4d8ca12819c0

parent

680c0bfaba19d8be169b39c56c19a7512d9c9193

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -457,7 +457,9 @@ ;; Step over Silver Search, here comes a new challenger.
 
 (use-package ripgrep
-  :if (executable-find "rg"))
+  :if (executable-find "rg")
+  :config (progn
+            (setq ripgrep-arguments '("--hidden"))))
 
 (use-package projectile-ripgrep
   :after (ripgrep projectile)