summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-01-11 19:00:14 -0500
committerKyle Meyer <kyle@kyleam.com>2014-01-11 19:00:14 -0500
commit42bd964941c40838ded587eeda50bb2b9b397c83 (patch)
tree096ac4fbf1a548077365bdce4cfdace204d26a20 /init
parentdcef1bfaf5b0237dbdcbd2fe3e1231b801b8b166 (diff)
downloademacs.d-42bd964941c40838ded587eeda50bb2b9b397c83.tar.gz
Add compile to projectile commander
Diffstat (limited to 'init')
-rw-r--r--init/km-projectile.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/init/km-projectile.el b/init/km-projectile.el
index 2ad41b1..40d4352 100644
--- a/init/km-projectile.el
+++ b/init/km-projectile.el
@@ -7,6 +7,10 @@
"Open project root in dired."
(projectile-dired))
+(def-projectile-commander-method ?c
+ "Run project compilation command."
+ (call-interactively 'projectile-compile-project))
+
(defun km/projectile-switch-project-to-file ()
"Provide access to the of default `projectile-find-file'.