aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el34
1 files changed, 34 insertions, 0 deletions
diff --git a/init.el b/init.el
index 79eb285..faf8233 100644
--- a/init.el
+++ b/init.el
@@ -59,6 +59,40 @@
59 59
60 60
61;; --------------------------------------------------------------------- 61;; ---------------------------------------------------------------------
62;;; Text Editor
63;; ------------
64;; These tweaks are meant to make the text editor more convenient.
65;; ---------------------------------------------------------------------
66
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
95;; ---------------------------------------------------------------------
62;;; File Management 96;;; File Management
63;; ---------------- 97;; ----------------
64;; Everything to do with file or directory management goes here. 98;; Everything to do with file or directory management goes here.