Adjust sizes for fill-column and visual-fill-column-width

This commit is contained in:
Evie Litherland-Smith 2024-11-19 10:52:03 +00:00
parent c5995dd351
commit b1384c14fc

View file

@ -189,14 +189,14 @@ Configure the look and feel of Emacs
#+end_src #+end_src
*** Visual fill column *** Visual fill column
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setopt fill-column 140) (setopt fill-column 80)
(add-to-list 'package-selected-packages 'visual-fill-column) (add-to-list 'package-selected-packages 'visual-fill-column)
(use-package visual-fill-column (use-package visual-fill-column
:if (package-installed-p 'visual-fill-column) :if (package-installed-p 'visual-fill-column)
:functions (visual-fill-column-mode) :functions (visual-fill-column-mode)
:hook (((text-mode prog-mode) . (lambda () (visual-line-mode +1) (visual-fill-column-mode +1)))) :hook (((text-mode prog-mode) . (lambda () (visual-line-mode +1) (visual-fill-column-mode +1))))
:custom :custom
(visual-fill-column-width 140) (visual-fill-column-width 120)
(visual-fill-column-center-text t) (visual-fill-column-center-text t)
(visual-fill-column-enable-sensible-window-split t) (visual-fill-column-enable-sensible-window-split t)
:config :config