summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2013-12-04 16:00:24 -0500
committerKyle Meyer <kyle@kyleam.com>2013-12-04 16:00:24 -0500
commit58ced56194aeba93f5a77e43dccab08c3e7aeefa (patch)
tree3e9cecd79f47604fb6824d33f15cf8ac6d3a9b85 /init
parent66ae93f47bb0f623de3af8e2e2ca816928458aaf (diff)
downloademacs.d-58ced56194aeba93f5a77e43dccab08c3e7aeefa.tar.gz
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.
Diffstat (limited to 'init')
-rw-r--r--init/km-projectile.el3
1 files changed, 2 insertions, 1 deletions
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)