Skip to content

Commit

Permalink
Removing . from affe-grep-command adding filtering out .venv
Browse files Browse the repository at this point in the history
  • Loading branch information
djgoku committed Mar 7, 2024
1 parent 75379d6 commit 74b92f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions emacs/config.org
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@
(setq affe-count 10000)
(setq affe-regexp-function #'orderless-pattern-compiler
affe-highlight-function #'orderless--highlight
affe-find-command "rg --color=never --files --hidden -g !.git/"
affe-grep-command "rg --null --color=never --max-columns=1000 --no-heading --line-number -v ^$ . --hidden -g !.git/")
:bind (("M-s af" . affe-find)
("M-s ag" . affe-grep)))
affe-find-command "rg --color=never --files --hidden -g !.git -g !.venv"
affe-grep-command "rg --null --color=never --max-columns=1000 --no-heading --line-number -v ^$ --hidden -g !.git -g !.venv")
:bind (("M-s a f" . affe-find)
("M-s a g" . affe-grep)))

;; Example configuration for Consult
(use-package consult
Expand Down

0 comments on commit 74b92f1

Please sign in to comment.