Преглед на файлове

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")) (shell-command "git rev-parse --git-dir"))
"git --no-pager -c color.grep=false grep -nH -e ") "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 ;; the silver searcher
("ag" ("ag"
(executable-find "ag") (executable-find "ag")
@@ -1536,6 +1541,7 @@ Commands are searched from ALIST."


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


Зареждане…
Отказ
Запис