Add visual-fill-column package

Customise to centre text vertically with a width of 180 characters
This commit is contained in:
Evie Litherland-Smith 2024-09-24 09:55:24 +01:00
parent d26134304f
commit 5dab916f22

View file

@ -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