From 0db6bfba5012282e92789c8cc51dd5d33eb2649b Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sun, 14 Oct 2018 16:42:13 -0400 Subject: [PATCH] banished evil tabs from my corner of the omniverse --- conf.org | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/conf.org b/conf.org index d743bb0..c984a00 100644 --- a/conf.org +++ b/conf.org @@ -80,10 +80,6 @@ No need for startup screen, tool/menu/scrollbars, or backups #+BEGIN_SRC emacs-lisp (set-default 'truncate-lines t) #+END_SRC -*** tab width -#+BEGIN_SRC emacs-lisp -(setq-default tab-width 4) -#+END_SRC *** smooth scrolling #+BEGIN_SRC emacs-lisp (setq scroll-conservatively 100) @@ -365,6 +361,12 @@ desktop file exec directive." (call-process "urxvt" nil 0 nil "-cd" cwd))) #+END_SRC * editing +** tabs and alignment +First things first, don't use spaces and force tabs to 4 chars by default (because...let's compromise on things that don't matter since I am using spaces anyways) +#+BEGIN_SRC emacs-lisp +(setq-default indent-tabs-mode nil + tab-width 4) +#+END_SRC ** completion *** company #+BEGIN_SRC emacs-lisp