From b3940040a28bfc68bf362a8244ae23a9e2e13ef3 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 4 Jul 2013 18:54:31 +0200 Subject: [PATCH] emacs: Added rainbow-delimiters and other things --- init.el | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 36e1f814e..7422236e8 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)