summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-09-09 01:28:28 -0400
committerKyle Meyer <kyle@kyleam.com>2014-09-09 01:28:28 -0400
commit45685f873961f85bba72a9e6d7a0b6eaec65f431 (patch)
tree91a19027277578fcea9339a8ae325b6b19ed9a57 /lisp
parent8da7799c16ad7a682301700ddf94191f4c5ad916 (diff)
downloademacs.d-45685f873961f85bba72a9e6d7a0b6eaec65f431.tar.gz
Use projectile-command-map, not projectile-mode-map
This avoids hard coding the prefix key.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-projectile.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/init-projectile.el b/lisp/init-projectile.el
index 83be162..492b66b 100644
--- a/lisp/init-projectile.el
+++ b/lisp/init-projectile.el
@@ -91,10 +91,10 @@ Interactive arguments are processed according to
(key-chord-define-global ";r" 'projectile-recentf)
(key-chord-define-global ";c" 'projectile-commander)
-(define-key projectile-mode-map (kbd "C-c p j")
+(define-key projectile-command-map "j"
'km/projectile-switch-project-to-file)
-(define-key projectile-mode-map (kbd "C-c p 4 v")
+(define-key projectile-command-map (kbd "4 v")
'km/projectile-view-file-other-window)
(define-prefix-command 'km/projectile-ctl-x-4-map)