From a0a18d5b15ffccbb174f3aad3190c15e373d367e Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Thu, 20 Apr 2023 14:08:28 -0400 Subject: refactor: Organize Text Editor subsections Reorder the subsections within the Text Editor section of `init.el`. For me, it makes more sense to have things related to the editor at the top, and things related more to the content within the editor second. --- init.el | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/init.el b/init.el index b9b7c35..efafdd5 100644 --- a/init.el +++ b/init.el @@ -64,32 +64,6 @@ ;; These tweaks are meant to make the text editor more convenient. ;; --------------------------------------------------------------------- -;; --------------------------------- -;; Whitespace -;; ---------- -;; Spaces, tabs, indentation, -;; newlines, and text-wrapping. -;; --------------------------------- - -;; Show stray whitespace -(setq-default show-trailing-whitespace t - indicate-empty-lines t - indicate-buffer-boundaries 'left) - -;; Make files end with newline -(setq-default require-final-newline t) - -;; Sentences end with ONE space -(setq-default sentence-end-double-space nil) - -;; Use spaces for indentation -(setq-default indent-tabs-mode nil - tab-width 2) - -;; Wrap words at buffer edge -(global-visual-line-mode) - - ;; --------------------------------- ;; Scrolling ;; --------- @@ -119,6 +93,32 @@ (setq scroll-error-top-bottom t) +;; --------------------------------- +;; Whitespace +;; ---------- +;; Spaces, tabs, indentation, +;; newlines, and text-wrapping. +;; --------------------------------- + +;; Show stray whitespace +(setq-default show-trailing-whitespace t + indicate-empty-lines t + indicate-buffer-boundaries 'left) + +;; Make files end with newline +(setq-default require-final-newline t) + +;; Sentences end with ONE space +(setq-default sentence-end-double-space nil) + +;; Use spaces for indentation +(setq-default indent-tabs-mode nil + tab-width 2) + +;; Wrap words at buffer edge +(global-visual-line-mode) + + ;; --------------------------------------------------------------------- -- cgit v1.2.3