From 7a917e5838a31a94cfab82e39d01a63c1af78d4c Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Sun, 15 Oct 2017 08:45:11 +0200 Subject: [PATCH] emacs - Change grep command --- emacs/.emacs.d/init.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 79aa60f..129dc2b 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -56,6 +56,13 @@ kept-new-versions 6 kept-old-versions 2) +(setq-default grep-command + (concat + "grep " + "-rnH " + "--binary-files=without-match " + "--exclude-dir=.git ")) + ;; Scroll behaviour (setq scroll-step 1