From 00f443bdd2cbd5dfec414cf1b5656f54b83cca60 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 17 Jul 2016 15:53:15 +0200 Subject: [PATCH] Set default tab-width to 4 --- emacs/.emacs.d/init.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"