Browse Source

Update rg

master
10sr 5 years ago
parent
commit
d2a0e0f3b3
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      emacs.el

+ 1
- 1
emacs.el View File

@@ -788,7 +788,7 @@ found, otherwise returns nil."
"Fzf all lines." "Fzf all lines."
(interactive) (interactive)
(let ((process-environment (cl-copy-list process-environment))) (let ((process-environment (cl-copy-list process-environment)))
(setenv "FZF_DEFAULT_COMMAND" "rg -nH --hidden --follow --glob '!.git/*' ^")
(setenv "FZF_DEFAULT_COMMAND" "rg -nH --no-heading --hidden --follow --glob '!.git/*' --color=always ^")
(fzf))) (fzf)))
(define-key ctl-x-map "S" 'my-fzf-all-lines) (define-key ctl-x-map "S" 'my-fzf-all-lines)




Loading…
Cancel
Save