diff options
author | Kyle Meyer <kyle@kyleam.com> | 2013-11-28 00:05:59 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2013-11-28 00:05:59 -0500 |
commit | edf118374ef6ae456b50768c609adf8eabf50aee (patch) | |
tree | d793bfb0d9bf2be98fbc3a6025238fcee9d169a2 /init | |
parent | c0d944c00e01ad7fd6d166dbbd846cec092bbc79 (diff) | |
download | emacs.d-edf118374ef6ae456b50768c609adf8eabf50aee.tar.gz |
Use magit-status as projectile switch action
Diffstat (limited to 'init')
-rw-r--r-- | init/km-projectile.el | 5 |
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))) |