From 58ced56194aeba93f5a77e43dccab08c3e7aeefa Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 4 Dec 2013 16:00:24 -0500 Subject: Fix projectile switch and find file keybinding "j" was previously unbound in the projectile keymap, but commit bebbab added assigned it to a function to find project tags. I don't currently use tags, so I want to keep my switch and find file keybinding. Now I need to override the binding in the projectile keymap instead of using a global keybinding. --- init/km-projectile.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'init') diff --git a/init/km-projectile.el b/init/km-projectile.el index 59f20ad..46a80ed 100644 --- a/init/km-projectile.el +++ b/init/km-projectile.el @@ -15,4 +15,5 @@ I have set `projectile-switch-project-action' to (let ((projectile-switch-project-action 'projectile-find-file)) (projectile-switch-project))) -(global-set-key (kbd "C-c p j") 'km/projectile-switch-project-to-file) +(define-key projectile-mode-map (kbd "C-c p j") + 'km/projectile-switch-project-to-file) -- cgit v1.2.3