summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
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)))