From 0852a328d7ca0622b66d8fa134101e5a7d42c4da Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 21 Dec 2018 11:17:12 +0100 Subject: Emacs: search hidden files with counsel-ag --- emacs/.emacs.d/main.el | 1 + 1 file changed, 1 insertion(+) (limited to 'emacs') 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 -- cgit 1.4.1