Simplify binding for projectile-commander to <SPC> p

Also add ?r projectile-replace to commander
This commit is contained in:
syl20bnr 2014-10-29 23:53:11 -04:00
parent 09f1a36129
commit 19d6ee6ebc

View file

@ -1571,13 +1571,16 @@ DELETE-FUNC when calling CALLBACK.
:init
(progn
(setq-default projectile-enable-caching t)
(evil-leader/set-key "pp" 'projectile-commander))
(evil-leader/set-key "p" 'projectile-commander))
:config
(progn
(projectile-global-mode)
(def-projectile-commander-method ?F
"Find file in project using helm."
(helm-projectile))
(def-projectile-commander-method ?r
"Replace a string in the project."
(projectile-replace))
(spacemacs//hide-lighter projectile-mode))))
(defun spacemacs/init-python ()