Add counsel-projectile and prefix binding for projectile

This commit is contained in:
Adam Goldsmith 2018-09-02 19:23:36 -04:00
parent deb3b2042a
commit 8a10889d49

View File

@ -517,13 +517,17 @@
:mode "\\.md\\'") :mode "\\.md\\'")
(use-package projectile (use-package projectile
:bind (:map projectile-mode-map (("C-S-z" . projectile-compile-project)
("C-c p" . projectile-command-map)))
:config :config
(projectile-global-mode) (projectile-mode)
(setq projectile-mode-line (setq projectile-mode-line
'(:eval (if (file-remote-p default-directory) '(:eval (if (file-remote-p default-directory)
" P" " P"
(format " P[%s]" (projectile-project-name))))) (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 (use-package scad-mode
:mode "\\.scad$" :mode "\\.scad$"