diff options
author | Kyle Meyer <kyle@kyleam.com> | 2013-12-04 16:00:24 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2013-12-04 16:00:24 -0500 |
commit | 58ced56194aeba93f5a77e43dccab08c3e7aeefa (patch) | |
tree | 3e9cecd79f47604fb6824d33f15cf8ac6d3a9b85 | |
parent | 66ae93f47bb0f623de3af8e2e2ca816928458aaf (diff) | |
download | emacs.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.
-rw-r--r-- | init/km-projectile.el | 3 |
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) |