# HG changeset patch # User Luke Hoersten # Date 1447258403 21600 # Node ID 22b2ad459bc1da1077af09b622395ab24c1f995f # Parent 0b91f7fe5a892f3c09a0229f8e8079eec6a2b8e8 Ediff better defaults. diff -r 0b91f7fe5a89 -r 22b2ad459bc1 init.el --- a/init.el Thu Oct 01 12:08:34 2015 -0500 +++ b/init.el Wed Nov 11 10:13:23 2015 -0600 @@ -6,8 +6,6 @@ (setq-default gc-cons-threshold 20000000 ; gc every 20 MB allocated (form flx-ido docs) - ediff-split-window-function - 'split-window-horizontally ; diff horizontally inhibit-splash-screen t ; disable splash screen truncate-lines t ; truncate, not wrap, lines indent-tabs-mode nil ; only uses spaces for indentation @@ -37,6 +35,12 @@ (global-set-key (kbd "C-c g") 'rgrep) ; grep +;;; ediff +(setq-default + ediff-split-window-function 'split-window-horizontally + ediff-window-setup-function 'ediff-setup-windows-plain) + + ;;; Darwin (setq is-mac (equal system-type 'darwin)) (when is-mac @@ -217,6 +221,7 @@ js2-mode-hook html-mode-hook css-mode-hook + sass-mode-hook clojure-mode-hook emacs-lisp-mode-hook conf-mode-hook