;;; siren-projectile.el --- jimeh's Emacs Siren: projectile configuration. ;;; Commentary: ;; Basic configuration for projectile. ;;; Code: (use-package projectile :bind ("C-c p p" . projectile-switch-project) ("C-c C-b" . projectile-ibuffer) ("C-c C-k" . projectile-kill-buffers) ("C-x C-t" . projectile-find-file) ("C-x t" . projectile-find-test-file) ("C-x C-v" . projectile-switch-to-buffer) (:map projectile-mode-map ("C-c p" . projectile-command-map)) :init (setq projectile-cache-file (expand-file-name "projectile.cache" siren-savefile-dir)) (setq projectile-completion-system 'ido projectile-enable-caching nil projectile-globally-ignored-directories '(".bzr" ".eunit" ".fslckout" ".git" ".hg" ".idea" ".svn" ".vagrant" "_darcs" "archive-contents" "coverage" "doc" "docs" "elpa" "node_modules" "log" "logs" "savefile" "tmp" "vendor/assets") projectile-globally-ignored-files '("TAGS" "*.log") 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-mode t)) (provide 'siren-projectile) ;;; siren-projectile.el ends here