aboutsummaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-07-17 15:53:15 +0200
committerGravatar Tom Willemse2016-07-17 15:53:15 +0200
commit00f443bdd2cbd5dfec414cf1b5656f54b83cca60 (patch)
tree597b1ad09eaff4bd8555dbf713dd7f36767e63a2 /emacs
parent62d642f9be9d496a13b9f7089503d3225a3e0149 (diff)
downloadnew-dotfiles-00f443bdd2cbd5dfec414cf1b5656f54b83cca60.tar.gz
new-dotfiles-00f443bdd2cbd5dfec414cf1b5656f54b83cca60.zip
Set default tab-width to 4
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index c39c394..f0bbbf5 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -68,11 +68,15 @@ This is currently the data directory under the
;; directory.
(setq auto-save-list-file-prefix (oni:data-location "auto-save-list/.saves-"))
-;;;; Don't use tabs:
+;;;; Tabs:
;; Generally I prefer using spaces over tabs. Especially for lisp-like
;; languages.
(setq-default indent-tabs-mode nil)
+;; A tab-width of 8 is too wide for me, and 2 is too narrow. 4 is just
+;; right.
+(setq-default tab-width 4)
+
;;;; Font:
(defvar oni:preferred-font "Fantasque Sans Mono-13"