From 293b9aa504cb8e67cc2f19a86b7a6d25ee8fef13 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Mon, 18 May 2020 10:34:31 -0400 Subject: [PATCH] Use existing projectile-command-map --- emacs/init.org | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/emacs/init.org b/emacs/init.org index fe7c51e..260bca4 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -2347,15 +2347,7 @@ nice with Org-roam: :config (projectile-mode) (jdormit/define-prefix "p" "projectile") - (leader-def-key "pf" #'projectile-find-file) - (leader-def-key "pg" #'projectile-grep) - (leader-def-key "pp" #'projectile-switch-project) - (leader-def-key "pc" #'projectile-compile-project) - (leader-def-key "ph" #'hydra-projectile/body) - (leader-def-key "ps" #'projectile-run-shell-command-in-root) - (leader-def-key "pa" #'projectile-run-async-shell-command-in-root) - (leader-def-key "p M-x" #'projectile-run-command-in-root) - (jdormit/define-prefix "pd" "debug")) + (leader-def-key "p" projectile-command-map)) (defmacro with-projectile-root (&rest body) `(with-temp-buffer