summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-03-18 18:58:06 -0400
committerKyle Meyer <kyle@kyleam.com>2014-03-18 18:58:06 -0400
commitec3a274842dc0e47589572ea8c51c235f8e792eb (patch)
treeb786e39c877ec80337953f1fe5e94485f3f117d2
parentd79ad49505005e4c595f8eec2f596e3496ff2f75 (diff)
downloademacs.d-ec3a274842dc0e47589572ea8c51c235f8e792eb.tar.gz
Add more other-window keys in projectile commander
-rw-r--r--lisp/init-projectile.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/lisp/init-projectile.el b/lisp/init-projectile.el
index 91e83a4..2cf580e 100644
--- a/lisp/init-projectile.el
+++ b/lisp/init-projectile.el
@@ -19,6 +19,18 @@
"Find project file in other window."
(call-interactively 'projectile-find-file-other-window))
+(def-projectile-commander-method ?B
+ "Find project buffer in other window."
+ (call-interactively 'projectile-switch-to-buffer-other-window))
+
+(def-projectile-commander-method ?D
+ "Find a project directory in other window."
+ (call-interactively 'projectile-find-dir-other-window))
+
+(def-projectile-commander-method ?O
+ "Display a project buffer in other window."
+ (call-interactively 'projectile-display-buffer))
+
(defun km/projectile-switch-project-to-file ()
"Provide access to the of default `projectile-find-file'.