about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <vincent@spotify.com>2013-07-04T16·54+0200
committerVincent Ambo <vincent@spotify.com>2013-07-04T16·54+0200
commitb3940040a28bfc68bf362a8244ae23a9e2e13ef3 (patch)
tree1d4d46d6a032f5fa14c4f0268c3e093462fd7fac
parente7c303a6a36c60b4c1b7737fdf442260dfe1fd5f (diff)
emacs: Added rainbow-delimiters and other things
-rw-r--r--init.el17
1 files changed, 16 insertions, 1 deletions
diff --git a/init.el b/init.el
index 36e1f814e7f5..7422236e8987 100644
--- a/init.el
+++ b/init.el
@@ -8,7 +8,14 @@
   (package-refresh-contents))
 
 ;; Important packages
-(defvar my-pkgs '(starter-kit starter-kit-bindings haskell-mode markdown-mode magit color-theme-solarized)
+(defvar my-pkgs '(starter-kit
+                  starter-kit-bindings
+                  haskell-mode
+                  markdown-mode
+                  magit
+                  color-theme-solarized
+                  projectile
+                  rainbow-delimiters)
   "A list of packages to install at launch.")
 
 (dolist (p my-pkgs)
@@ -98,6 +105,14 @@
 
 (remove-hook 'kill-buffer-query-functions 'server-kill-buffer-query-function)
 
+;; Enable projectile for all things programming
+(require 'projectile)
+(add-hook 'prog-mode-hook 'projectile-on)
+
+;; Enable rainbow-delimiters for all things programming
+(require 'rainbow-delimiters)
+(add-hook 'prog-mode-hook 'rainbow-delimiters-mode)
+
 ;; Start server for emacsclient
 (server-start)