Add projectile run commands SPC p ! and SPC p &

* SPC p ! - run shell command in root
* SPC p & - run async shell command in root

Conflicts:
	spacemacs/packages.el
This commit is contained in:
William Casarin 2015-02-27 20:23:52 -08:00 committed by syl20bnr
parent 0fff6a7518
commit 773d8ed4d2
2 changed files with 4 additions and 0 deletions

View file

@ -2016,6 +2016,8 @@ To search in a project see [project searching](#project-searching).
Key Binding | Description
--------------------|------------------------------------------------------------
<kbd>SPC p /</kbd> | run `ag`
<kbd>SPC p !</kbd> | run shell command in root
<kbd>SPC p &</kbd> | run async shell command in root
<kbd>SPC p a</kbd> | run `ag`
<kbd>SPC p A</kbd> | run `ack`
<kbd>SPC p b</kbd> | switch to project buffer

View file

@ -2154,6 +2154,8 @@ Put (global-hungry-delete-mode) in dotspacemacs/config to enable by default."
"ph" 'helm-projectile
"ps" 'projectile-switch-project))
(evil-leader/set-key
"p!" 'projectile-run-shell-command-in-root
"p&" 'projectile-run-async-shell-command-in-root
"pc" 'projectile-compile-project
"pD" 'projectile-dired
"pI" 'projectile-invalidate-cache