Browse Source

Add ripgrep support

master
10sr 6 years ago
parent
commit
c8e16e82e8
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      emacs.el

+ 6
- 0
emacs.el View File

@@ -1440,6 +1440,11 @@ the list."
(shell-command "git rev-parse --git-dir"))
"git --no-pager -c color.grep=false grep -nH -e ")

;; ripgrep
("rg"
(executable-find "rg")
"rg --no-heading --color=never --smart-case ")

;; the silver searcher
("ag"
(executable-find "ag")
@@ -1536,6 +1541,7 @@ Commands are searched from ALIST."

(define-my-rgrep "ack")
(define-my-rgrep "ag")
(define-my-rgrep "rg")
(define-my-rgrep "gitgrep")
(define-my-rgrep "grep")
(define-my-rgrep "global")


Loading…
Cancel
Save