src.nth.io/

summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2011-05-16 20:50:55 -0500
committerLuke Hoersten <[email protected]>2011-05-16 20:50:55 -0500
commit18b267ad4fa21b1278cba0b642f88428813f768c (patch)
treea25359ed35c9fa0c64206bee68e128bd24fc68c4 /init.el
parent7e42c5af2586c57b9c8624c1954bf6c3d290f96c (diff)
Added rainbow-delimiter (multi-colored parens) mode and updated twilight color theme.
Diffstat (limited to 'init.el')
-rw-r--r--init.el32
1 files changed, 17 insertions, 15 deletions
diff --git a/init.el b/init.el
index fbbc3fc..87d246e 100644
--- a/init.el
+++ b/init.el
@@ -78,16 +78,6 @@
;;;; Mode-Specific ;;;;
-;;; linum-mode - line numbers
-(mapc
- (lambda (x)
- (add-hook x 'linum-mode))
- '(text-mode-hook
- c-mode-common-hook
- python-mode-hook
- haskell-mode-hook
- emacs-lisp-mode-hook))
-
;;; text-mode
(add-hook 'text-mode-hook 'flyspell-mode t) ; spellcheck text
(add-hook 'text-mode-hook 'turn-on-auto-fill) ; autofill text
@@ -172,11 +162,12 @@
;;;; Requires ;;;;
-(require 'hoersten-c-style) ; load c specific lisp
-(require 'align-with-spaces) ; use only spaces for alignment
-(require 'pastebin-region) ; send selected text to pastebin
-(require 'move-line) ; move line up or down
-(require 'vala-mode) ; vala programming language
+(require 'hoersten-c-style) ; load c specific lisp
+(require 'align-with-spaces) ; use only spaces for alignment
+(require 'pastebin-region) ; send selected text to pastebin
+(require 'move-line) ; move line up or down
+(require 'vala-mode) ; vala programming language
+(require 'rainbow-delimiters) ; multi-colored parens
;;; pretty-mode - unicode character replacement
(require 'pretty-mode)
@@ -198,3 +189,14 @@
(setq
uniquify-buffer-name-style 'post-forward
uniquify-separator ":")
+
+;;; coding-modes map
+(mapc
+ (lambda (x)
+ (add-hook x 'linum-mode)
+ (add-hook x 'rainbow-delimiters-mode))
+ '(text-mode-hook
+ c-mode-common-hook
+ python-mode-hook
+ haskell-mode-hook
+ emacs-lisp-mode-hook))