ソースを参照

Make ripgrep first candidate

master
10sr 5年前
コミット
bb8feeebf7
署名者: 10sr GPGキーID: 7BEC428194130EB2
1個のファイルの変更5行の追加5行の削除
  1. +5
    -5
      emacs.el

+ 5
- 5
emacs.el ファイルの表示

@@ -1387,17 +1387,17 @@ ARG is num to show, or defaults to 7."
Each element is in the form like (NAME SEXP COMMAND), where SEXP returns the
condition to choose COMMAND when evaluated.")
`(
;; ripgrep
("rg"
(executable-find "rg")
"rg --no-heading --smart-case ")

;; git grep
("gitgrep"
(eq 0
(shell-command "git rev-parse --git-dir"))
"git --no-pager -c color.grep=always grep -nH -e ")

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

;; sift
("sift"
(executable-find "sift")


読み込み中…
キャンセル
保存