mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user