From 8d9a82622a5a07cef5cefcc386652d1f9fcdf298 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 11 Mar 2021 12:08:23 -0600 Subject: Word-wrap, but don't truncate-lines --- init.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'init.el') diff --git a/init.el b/init.el index 168dc91..c881751 100644 --- a/init.el +++ b/init.el @@ -40,8 +40,14 @@ (add-hook 'text-mode-hook #'turn-on-auto-fill) (add-hook 'prog-mode-hook #'turn-on-auto-fill) (global-so-long-mode +1) + +;; I don't want `visual-line-mode', because I really only want to wrap and +;; truncate lines. Believe me, I know what I'm doing. +(acdw/set '((word-wrap t + truncate-lines nil))) + ;; Whitespace -(acdw/set `((whitespace-style +(acdw/set '((whitespace-style (empty indentation space-before-tab space-after-tab)) (indent-tabs-mode t) (tab-width 8))) -- cgit 1.4.1-21-gabe81