about summary refs log tree commit diff
path: root/emacs.d/init-modes.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/init-modes.el')
-rw-r--r--emacs.d/init-modes.el12
1 files changed, 9 insertions, 3 deletions
diff --git a/emacs.d/init-modes.el b/emacs.d/init-modes.el
index d7415fda06aa..6e523c387734 100644
--- a/emacs.d/init-modes.el
+++ b/emacs.d/init-modes.el
@@ -1,3 +1,4 @@
+(mapc 'require '(projectile))
 ;; Initializes modes I use.
 
 (add-hook 'prog-mode-hook 'esk-pretty-lambdas)
@@ -33,6 +34,11 @@
 (setq nrepl-hide-special-buffers t)
 (setq nrepl-popup-stacktraces nil)
 
-;; Paredit in nrepl
-(add-hook 'nrepl-mode-hook 'paredit-mode)
-(add-hook 'nrepl-mode-hook 'rainbow-delimiters-mode)
+;; Enable projectile for all things programming
+(add-hook 'prog-mode-hook 'projectile-on)
+
+;; Enable rainbow-delimiters for all things programming
+(add-hook 'prog-mode-hook 'rainbow-delimiters-mode)
+
+;; Enable paredit in all programming buffers
+(add-hook 'prog-mode-hook 'paredit-mode)