From 5dab916f22c3b4ea60c82bfeabd611dc1a5f0a41 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 24 Sep 2024 09:55:24 +0100 Subject: [PATCH] Add visual-fill-column package Customise to centre text vertically with a width of 180 characters --- README.org | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index 01ab292..d461358 100644 --- a/README.org +++ b/README.org @@ -84,7 +84,6 @@ Configure the look and feel of Emacs async-shell-command-display-buffer nil compilation-scroll-output t) -(global-visual-line-mode +1) (global-prettify-symbols-mode +1) (tool-bar-mode -1) (scroll-bar-mode -1) @@ -165,6 +164,19 @@ Configure the look and feel of Emacs (column-number-mode +1) (size-indication-mode -1) #+end_src +*** Visual fill column +#+begin_src emacs-lisp +(add-to-list 'package-selected-packages 'visual-fill-column) +(use-package visual-fill-column + :if (package-installed-p 'visual-fill-column) + :custom + (visual-fill-column-width 180) + (visual-fill-column-center-text t) + (visual-fill-column-enable-sensible-window-split t) + :config + (global-visual-line-mode +1) + (global-visual-fill-column-mode +1)) +#+end_src *** Font ligatures #+begin_src emacs-lisp (use-package ligature