summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kosarek <matthew.kosarek@vention.cc>2023-05-12 10:15:53 -0400
committerMatthew Kosarek <matthew.kosarek@vention.cc>2023-05-12 10:15:53 -0400
commit8adb36446daee3efa3751c5512b493b74bd8e246 (patch)
treefa6e9e84418cf073ca7a5ae276d1a80b46d8b07e
parent6deedd44e87075569b0459ae1ab7bd15399c575d (diff)
Projectile greps now ignore git ignored files
-rw-r--r--lisp/general.el4
1 files changed, 3 insertions, 1 deletions
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)