summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2013-11-28 00:05:59 -0500
committerKyle Meyer <kyle@kyleam.com>2013-11-28 00:05:59 -0500
commitedf118374ef6ae456b50768c609adf8eabf50aee (patch)
treed793bfb0d9bf2be98fbc3a6025238fcee9d169a2 /init
parentc0d944c00e01ad7fd6d166dbbd846cec092bbc79 (diff)
downloademacs.d-edf118374ef6ae456b50768c609adf8eabf50aee.tar.gz
Use magit-status as projectile switch action
Diffstat (limited to 'init')
-rw-r--r--init/km-projectile.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/init/km-projectile.el b/init/km-projectile.el
index 58d2d77..6f5da20 100644
--- a/init/km-projectile.el
+++ b/init/km-projectile.el
@@ -1 +1,6 @@
(projectile-global-mode)
+
+(setq projectile-switch-project-action 'km/projectile-magit-status)
+
+(defun km/projectile-magit-status ()
+ (magit-status (projectile-project-root)))