dff7c4d6356e70a08b4aaaa8368e39c3b821584c
[dotfiles.git] / emacs.d / elisp / init-projectile.el
1
2
3 ;; http://batsov.com/projectile/
4 ;; Todo add svn repo support
5
6 (use-package projectile
7   :ensure t
8   :init
9   (setq projectile-enable-caching t)
10   (setq projectile-indexing-method 'alian)
11   (setq projectile-switch-project-action 'projectile-dired)
12   :config
13   (projectile-global-mode))
14
15
16 (use-package helm-projectile
17   :ensure t
18   :init
19   (setq helm-projectile-fuzzy-match nil)
20   :config
21   (helm-projectile-on)
22   :bind (("s-f" . helm-projectile-find-file)
23          ("s-b" . helm-projectile-switch-to-buffer)))
24
25 (use-package perspective
26   :ensure t
27   :config
28   (persp-mode))
29
30 (use-package persp-projectile
31   :ensure t
32   :config
33   (define-key projectile-mode-map (kbd "s-p") 'projectile-persp-switch-project))
34
35
36 (provide 'init-projectile)