|
@@ -1396,27 +1396,27 @@ condition to choose COMMAND when evaluated.") |
|
|
("gitgrep" |
|
|
("gitgrep" |
|
|
(eq 0 |
|
|
(eq 0 |
|
|
(shell-command "git rev-parse --git-dir")) |
|
|
(shell-command "git rev-parse --git-dir")) |
|
|
"git --no-pager -c color.grep=false grep -nH -e ") |
|
|
|
|
|
|
|
|
"git --no-pager -c color.grep=always grep -nH -e ") |
|
|
|
|
|
|
|
|
;; ripgrep |
|
|
;; ripgrep |
|
|
("rg" |
|
|
("rg" |
|
|
(executable-find "rg") |
|
|
(executable-find "rg") |
|
|
"rg --no-heading --color=never --smart-case ") |
|
|
|
|
|
|
|
|
"rg --no-heading --smart-case ") |
|
|
|
|
|
|
|
|
;; sift |
|
|
;; sift |
|
|
("sift" |
|
|
("sift" |
|
|
(executable-find "sift") |
|
|
(executable-find "sift") |
|
|
("sift --no-color --binary-skip --filename --line-number --git --smart-case ")) |
|
|
|
|
|
|
|
|
("sift --binary-skip --filename --line-number --git --smart-case ")) |
|
|
|
|
|
|
|
|
;; the silver searcher |
|
|
;; the silver searcher |
|
|
("ag" |
|
|
("ag" |
|
|
(executable-find "ag") |
|
|
(executable-find "ag") |
|
|
"ag --nocolor --nogroup --nopager --filename ") |
|
|
|
|
|
|
|
|
"ag --nogroup --nopager --filename ") |
|
|
|
|
|
|
|
|
;; ack |
|
|
;; ack |
|
|
("ack" |
|
|
("ack" |
|
|
(executable-find "ack") |
|
|
(executable-find "ack") |
|
|
"ack --nocolor --nogroup --nopager --with-filename ") |
|
|
|
|
|
|
|
|
"ack --nogroup --nopager --with-filename ") |
|
|
|
|
|
|
|
|
;; gnu global |
|
|
;; gnu global |
|
|
("global" |
|
|
("global" |
|
|