From 8a10889d495ec27813b2db85af61e146d327aff4 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sun, 2 Sep 2018 19:23:36 -0400 Subject: [PATCH] Add counsel-projectile and prefix binding for projectile --- .emacs.d/init.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 8f5c20a..f42dcb2 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -517,13 +517,17 @@ :mode "\\.md\\'") (use-package projectile + :bind (:map projectile-mode-map (("C-S-z" . projectile-compile-project) + ("C-c p" . projectile-command-map))) + :config - (projectile-global-mode) + (projectile-mode) (setq projectile-mode-line '(:eval (if (file-remote-p default-directory) " P" (format " P[%s]" (projectile-project-name))))) - :bind (:map projectile-mode-map ("C-S-z" . projectile-compile-project))) + (use-package counsel-projectile :ensure + :hook (projectile-mode . counsel-projectile-mode))) (use-package scad-mode :mode "\\.scad$"