浏览代码

Make ripgrep first candidate

master
10sr 6 年前
父节点
当前提交
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")


正在加载...
取消
保存