emacs - add projectile perspective
authorPeng Li <seudut@gmail.com>
Wed, 16 Sep 2015 12:29:45 +0000 (20:29 +0800)
committerPeng Li <seudut@gmail.com>
Wed, 16 Sep 2015 12:29:45 +0000 (20:29 +0800)
emacs.d/config/init-projectile.el
emacs.d/config/my-packages.el
emacs.d/init.el

index 866cf7e..9ba616f 100644 (file)
@@ -2,15 +2,24 @@
 
 
 (require 'projectile)
+(require 'projectile-speedbar)
 
 
 (projectile-global-mode)
+
 (setq projectile-enable-caching t)
+(setq projectile-indexing-method 'native)
 
+;; with helm
+(require 'helm-projectile)
+(helm-projectile-on)
 
-(require 'projectile-speedbar)
 
+(setq projectile-switch-project-action 'helm-projectile-find-file)
 
+;; with - perspective
+(persp-mode)
+(require 'persp-projectile)
 
 (provide 'init-projectile)
 
index 05feef0..fc8d1db 100644 (file)
@@ -62,6 +62,7 @@
     multi-term
     projectile
     page-break-lines
+    helm-projectile
   ) "a list of packages to ensure are installed at launch.")
 
 (require 'cl)
index 07ef18f..0e486ec 100644 (file)
 (require 'page-break-lines)
 ;(turn-on-page-break-lines-mode)
 (global-page-break-lines-mode 1)
+
+;(setq projectile-completion-system 'helm)
+;(helm-projectile-on)
+
+
+;; show projectile name in mode-line