Files
.emacs.d/modules/projects/siren-projectile.el
Jim Myhrberg 87a86191db Majorly re-organize modules
- Split large modules into smaller parts (e.g. siren-text-manipulation)
- Organize modules into high level groups:
  - completion
  - core
  - editor
  - languages
  - linting
  - misc
  - navigation
  - projects
  - spelling
  - text-editing
  - version-control
  - windows
  - workspaces
2018-05-20 17:31:11 +01:00

56 lines
2.1 KiB
EmacsLisp

;;; 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)
: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 '(".idea"
".eunit"
".git"
".hg"
".fslckout"
".bzr"
".svn"
"_darcs"
"vendor/bundle"
"vendor/ruby"
"coverage"
"docs"
"doc"
"log"
"logs"
"tmp"
"Godeps"
"elpa"
"savefile")
projectile-globally-ignored-files '("TAGS" "*.log")
projectile-sort-order 'recently-active
projectile-mode-line (quote ""))
: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))
(provide 'siren-projectile)
;;; siren-projectile.el ends here