Emacs: Set helm git grep to ignore out-of-tree files

master
Pierre Neidhardt 2016-06-10 10:04:30 +02:00
parent 2d3415003d
commit 106eff294c
1 changed files with 2 additions and 1 deletions

View File

@ -174,7 +174,8 @@ To view where the bindings are set in your config files, lookup
(when (require 'helm-config nil t)
(when (require 'helm-descbinds nil t)
(helm-descbinds-mode))
(require 'helm-ls-git nil t)
(when (require 'helm-ls-git nil t)
(setq helm-grep-git-grep-command "git --no-pager grep -n%cH --color=always --full-name -e %p -- %f"))
(helm-mode 1)
; (helm-autoresize-mode 1)
(setq helm-apropos-fuzzy-match t)