src.nth.io/

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2015-11-11 10:13:23 -0600
committerLuke Hoersten <[email protected]>2015-11-11 10:13:23 -0600
commit888f0d03da02e6caef488869321d2ba8ae715e6f (patch)
treeed74f0e9c8d2e456ac95591ac05faaa5bea2b2de
parent6b78a4939e0e9ba6f86e63d8b4eaca92bd107ca2 (diff)
Ediff better defaults.
-rw-r--r--init.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/init.el b/init.el
index 52b2a74..2d0fdef 100644
--- a/init.el
+++ b/init.el
@@ -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