summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-06-22 01:09:11 -0400
committerKyle Meyer <kyle@kyleam.com>2014-06-22 01:09:11 -0400
commitdbafbc909088e594a3420bd8e0532239de9b4e88 (patch)
treec75e30ccb7361d56a91a6e6ce695df66bce435da
parentc8fde78bde94ff36dac806401299e75a96a7c66c (diff)
downloademacs.d-dbafbc909088e594a3420bd8e0532239de9b4e88.tar.gz
Duplicate projectile 'C-c p 4' map under 'C-x 4 p'
-rw-r--r--lisp/init-projectile.el14
1 files changed, 14 insertions, 0 deletions
diff --git a/lisp/init-projectile.el b/lisp/init-projectile.el
index 3874ffc..795efd5 100644
--- a/lisp/init-projectile.el
+++ b/lisp/init-projectile.el
@@ -52,4 +52,18 @@ I have set `projectile-switch-project-action' to
(key-chord-define-global ";r" 'projectile-recentf)
(key-chord-define-global ";c" 'projectile-commander)
+(define-prefix-command 'projectile-ctl-x-4-map)
+(define-key ctl-x-4-map "p" 'projectile-ctl-x-4-map)
+
+(define-key projectile-ctl-x-4-map (kbd "C-o")
+ 'projectile-display-buffer)
+(define-key projectile-ctl-x-4-map "b"
+ 'projectile-switch-to-buffer-other-window)
+(define-key projectile-ctl-x-4-map "d"
+ 'projectile-find-dir-other-window)
+(define-key projectile-ctl-x-4-map "f"
+ 'projectile-find-file-other-window)
+(define-key projectile-ctl-x-4-map "t"
+ 'projectile-find-implementation-or-test-other-window)
+
(provide 'init-projectile)