about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-03-11 12:08:23 -0600
committerCase Duckworth2021-03-11 12:08:23 -0600
commit8d9a82622a5a07cef5cefcc386652d1f9fcdf298 (patch)
treeba1ec120104a4eb896b0251088c35c5ce209a4ab
parentWhitespace (diff)
downloademacs-8d9a82622a5a07cef5cefcc386652d1f9fcdf298.tar.gz
emacs-8d9a82622a5a07cef5cefcc386652d1f9fcdf298.zip
Word-wrap, but don't truncate-lines
-rw-r--r--init.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/init.el b/init.el index 168dc91..c881751 100644 --- a/init.el +++ b/init.el
@@ -40,8 +40,14 @@
40(add-hook 'text-mode-hook #'turn-on-auto-fill) 40(add-hook 'text-mode-hook #'turn-on-auto-fill)
41(add-hook 'prog-mode-hook #'turn-on-auto-fill) 41(add-hook 'prog-mode-hook #'turn-on-auto-fill)
42(global-so-long-mode +1) 42(global-so-long-mode +1)
43
44;; I don't want `visual-line-mode', because I really only want to wrap and
45;; truncate lines. Believe me, I know what I'm doing.
46(acdw/set '((word-wrap t
47 truncate-lines nil)))
48
43;; Whitespace 49;; Whitespace
44(acdw/set `((whitespace-style 50(acdw/set '((whitespace-style
45 (empty indentation space-before-tab space-after-tab)) 51 (empty indentation space-before-tab space-after-tab))
46 (indent-tabs-mode t) 52 (indent-tabs-mode t)
47 (tab-width 8))) 53 (tab-width 8)))