From 07257c6105218050d32373ed06ca0b04d6749a71 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 14 Oct 2024 10:20:23 +0100 Subject: [PATCH] Remove global visual line mode, set for text and prog mode only --- README.org | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.org b/README.org index ec24786..a828fe3 100644 --- a/README.org +++ b/README.org @@ -194,16 +194,13 @@ Configure the look and feel of Emacs :if (package-installed-p 'visual-fill-column) :functions (visual-fill-column-mode global-visual-fill-column-mode) - :hook (((dired-mode org-src-mode org-agenda-mode) . (lambda () (visual-fill-column-mode +1))) - ((doc-view-mode image-mode) . (lambda () (visual-fill-column-mode -1)))) + :hook (((text-mode prog-mode) . (lambda () (visual-line-mode +1) (visual-fill-column-mode +1)))) :custom (visual-fill-column-width 160) (visual-fill-column-center-text t) (visual-fill-column-enable-sensible-window-split t) :config - (setopt visual-line-fringe-indicators '(left-curly-arrow right-curly-arrow)) - (global-visual-line-mode +1) - (global-visual-fill-column-mode +1)) + (setopt visual-line-fringe-indicators '(left-curly-arrow right-curly-arrow))) #+end_src *** Font ligatures #+begin_src emacs-lisp