aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-04-20 14:08:28 -0400
committerMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-04-20 14:08:28 -0400
commita0a18d5b15ffccbb174f3aad3190c15e373d367e (patch)
treefbb6f396bf180f65e33d573ab121ad54abbcf014 /init.el
parentFix mismatched parentheses (diff)
downloadmmosmacs-a0a18d5b15ffccbb174f3aad3190c15e373d367e.tar.gz
mmosmacs-a0a18d5b15ffccbb174f3aad3190c15e373d367e.tar.bz2
mmosmacs-a0a18d5b15ffccbb174f3aad3190c15e373d367e.zip
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.
Diffstat (limited to 'init.el')
-rw-r--r--init.el52
1 files changed, 26 insertions, 26 deletions
diff --git a/init.el b/init.el
index b9b7c35..efafdd5 100644
--- a/init.el
+++ b/init.el
@@ -65,32 +65,6 @@
65;; --------------------------------------------------------------------- 65;; ---------------------------------------------------------------------
66 66
67;; --------------------------------- 67;; ---------------------------------
68;; Whitespace
69;; ----------
70;; Spaces, tabs, indentation,
71;; newlines, and text-wrapping.
72;; ---------------------------------
73
74;; Show stray whitespace
75(setq-default show-trailing-whitespace t
76 indicate-empty-lines t
77 indicate-buffer-boundaries 'left)
78
79;; Make files end with newline
80(setq-default require-final-newline t)
81
82;; Sentences end with ONE space
83(setq-default sentence-end-double-space nil)
84
85;; Use spaces for indentation
86(setq-default indent-tabs-mode nil
87 tab-width 2)
88
89;; Wrap words at buffer edge
90(global-visual-line-mode)
91
92
93;; ---------------------------------
94;; Scrolling 68;; Scrolling
95;; --------- 69;; ---------
96;; This makes the scrolling behavior 70;; This makes the scrolling behavior
@@ -119,6 +93,32 @@
119(setq scroll-error-top-bottom t) 93(setq scroll-error-top-bottom t)
120 94
121 95
96;; ---------------------------------
97;; Whitespace
98;; ----------
99;; Spaces, tabs, indentation,
100;; newlines, and text-wrapping.
101;; ---------------------------------
102
103;; Show stray whitespace
104(setq-default show-trailing-whitespace t
105 indicate-empty-lines t
106 indicate-buffer-boundaries 'left)
107
108;; Make files end with newline
109(setq-default require-final-newline t)
110
111;; Sentences end with ONE space
112(setq-default sentence-end-double-space nil)
113
114;; Use spaces for indentation
115(setq-default indent-tabs-mode nil
116 tab-width 2)
117
118;; Wrap words at buffer edge
119(global-visual-line-mode)
120
121
122 122
123 123
124;; --------------------------------------------------------------------- 124;; ---------------------------------------------------------------------