summaryrefslogtreecommitdiff
path: root/lisp/init-projectile.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-09-19 00:45:54 -0400
committerKyle Meyer <kyle@kyleam.com>2014-09-19 00:45:54 -0400
commite825ac9ad32b67c3122e46c8bef6fdd05c100626 (patch)
tree30fa77bb894ca0da58ca711e8a2ab96665fd0bcc /lisp/init-projectile.el
parentf44dcf56ccdd833e5ec4081c8a7fb3451d9cf2a3 (diff)
downloademacs.d-e825ac9ad32b67c3122e46c8bef6fdd05c100626.tar.gz
Change projectile-{recentf,dired} commander keys
Change `projectile-recentf' to 'r' to be more consistent with other maps (e.g., `ctl-x-4-map') and my key chords.
Diffstat (limited to 'lisp/init-projectile.el')
-rw-r--r--lisp/init-projectile.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/init-projectile.el b/lisp/init-projectile.el
index b5004a1..8c6ee11 100644
--- a/lisp/init-projectile.el
+++ b/lisp/init-projectile.el
@@ -52,7 +52,7 @@ Interactive arguments are processed according to
(message "%s" fname)))
;; Default binding is D.
-(def-projectile-commander-method ?r
+(def-projectile-commander-method ?t
"Open project root in dired."
(projectile-dired))
@@ -77,6 +77,11 @@ Interactive arguments are processed according to
"Run project compilation command."
(call-interactively 'projectile-compile-project))
+;; Default binding is e.
+(def-projectile-commander-method ?r
+ "Find recently visited file in project."
+ (projectile-recentf))
+
(def-projectile-commander-method ?F
"Find project file in other window."
(call-interactively 'projectile-find-file-other-window))