diff options
author | Alan Pearce | 2018-12-21 11:17:12 +0100 |
---|---|---|
committer | Alan Pearce | 2018-12-21 11:17:12 +0100 |
commit | 0852a328d7ca0622b66d8fa134101e5a7d42c4da (patch) | |
tree | 1c478e59a848c62e92278aacd18b8df85fbbc799 | |
parent | 1e9c3de62e6cbdcdd344c51ce60ceafa80e3e830 (diff) | |
download | nixfiles-0852a328d7ca0622b66d8fa134101e5a7d42c4da.tar.lz nixfiles-0852a328d7ca0622b66d8fa134101e5a7d42c4da.tar.zst nixfiles-0852a328d7ca0622b66d8fa134101e5a7d42c4da.zip |
Emacs: search hidden files with counsel-ag
-rw-r--r-- | emacs/.emacs.d/main.el | 1 |
1 files changed, 1 insertions, 0 deletions
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 |