瀏覽代碼

Add ripgrep support

master
10sr 6 年之前
父節點
當前提交
c8e16e82e8
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. +6
    -0
      emacs.el

+ 6
- 0
emacs.el 查看文件

@@ -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…
取消
儲存