From 8adb36446daee3efa3751c5512b493b74bd8e246 Mon Sep 17 00:00:00 2001 From: Matthew Kosarek Date: Fri, 12 May 2023 10:15:53 -0400 Subject: Projectile greps now ignore git ignored files --- lisp/general.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/general.el b/lisp/general.el index c66c225..3777c24 100644 --- a/lisp/general.el +++ b/lisp/general.el @@ -91,6 +91,7 @@ :ensure t :config (helm-mode 1) + (setq helm-mode-fuzzy-match t) ) (use-package helm-posframe @@ -107,19 +108,20 @@ (setq projectile-switch-project-action 'treemacs-add-and-display-current-project-exclusively) (setq projectile-indexing-method 'native) (setq projectile-enable-caching t) + (setq projectile-use-git-grep t) (add-to-list 'projectile-globally-ignored-directories "node_modules") (add-to-list 'projectile-globally-ignored-directories "elpa") (add-to-list 'projectile-globally-ignored-directories "build") (add-to-list 'projectile-globally-ignored-directories "dist") (add-to-list 'projectile-project-root-files "package.json") (add-to-list 'projectile-globally-ignored-files "package-lock.json") - ) (use-package helm-projectile :ensure t :bind :config + (setq projectile-completion-system 'helm) (helm-projectile-on) (define-key projectile-mode-map (kbd "s-F") 'helm-projectile-grep) (define-key projectile-mode-map [?\s-o] 'helm-projectile-switch-project) -- cgit v1.2.1