Use existing projectile-command-map

This commit is contained in:
Jeremy Dormitzer 2020-05-18 10:34:31 -04:00
parent a38ec79c88
commit 293b9aa504

View File

@ -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