emacs: Added rainbow-delimiters and other things

This commit is contained in:
Vincent Ambo 2013-07-04 18:54:31 +02:00
parent e7c303a6a3
commit b3940040a2

17
init.el
View file

@ -8,7 +8,14 @@
(package-refresh-contents)) (package-refresh-contents))
;; Important packages ;; 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.") "A list of packages to install at launch.")
(dolist (p my-pkgs) (dolist (p my-pkgs)
@ -98,6 +105,14 @@
(remove-hook 'kill-buffer-query-functions 'server-kill-buffer-query-function) (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 ;; Start server for emacsclient
(server-start) (server-start)