Update projectile and helm-projectile setup

Importantly, this includes setting the projectile indexing method to
hybrid, as the default alien makes it skip sorting results altogether.
This commit is contained in:
2018-12-20 03:35:19 +00:00
parent 6ae24d30a7
commit e2d2a46f27
2 changed files with 8 additions and 11 deletions

View File

@@ -13,13 +13,7 @@
("C-x C-;" . helm-projectile)
("C-x ;" . helm-projectile-find-file)
("C-c ;" . helm-projectile-switch-project)
("C-c C-;" . helm-projectile-switch-project)
:config
;; Don't bother with using files in open Dired buffer as initial source for
;; helm-projectile-find-file, just use the list of files.
(setq helm-source-projectile-files-and-dired-list
'(helm-source-projectile-files-list)))
("C-c C-;" . helm-projectile-switch-project))
(provide 'siren-helm-projectile)
;;; siren-helm-projectile.el ends here

View File

@@ -32,24 +32,27 @@
".svn"
".vagrant"
"_darcs"
"archive-contents"
"coverage"
"doc"
"docs"
"elpa"
"node_modules"
"log"
"logs"
"savefile"
"tmp")
"tmp"
"vendor/assets")
projectile-globally-ignored-files '("TAGS" "*.log")
projectile-sort-order 'recently-active
projectile-mode-line (quote ""))
projectile-indexing-method 'hybrid
projectile-sort-order 'recently-active)
:config
;; Treat separate directories with Gemfiles within a single git repo as separate
;; projects.
(push "Gemfile" projectile-project-root-files-bottom-up)
(projectile-global-mode t))
(projectile-mode t))
(provide 'siren-projectile)
;;; siren-projectile.el ends here