summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-09-30 23:17:08 -0500
committerCase Duckworth2021-09-30 23:17:08 -0500
commitbc4f54512badf8e5e2675967f3138620aaa3aa0a (patch)
treeeb7ba3ae6243401d13c41a81dffd416a7b6c0814
parentHook more things into circe (diff)
downloademacs-bc4f54512badf8e5e2675967f3138620aaa3aa0a.tar.gz
emacs-bc4f54512badf8e5e2675967f3138620aaa3aa0a.zip
Add visual-fill-column
-rw-r--r--init.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/init.el b/init.el index 62d46f8..5cd1c8d 100644 --- a/init.el +++ b/init.el
@@ -1741,6 +1741,17 @@ browser defined in `browse-url-secondary-browser-function'."
1741 indicate-buffer-boundaries nil) 1741 indicate-buffer-boundaries nil)
1742 (acdw/setup-fringes))))) 1742 (acdw/setup-fringes)))))
1743 1743
1744(setup (:straight visual-fill-column)
1745 (:option visual-fill-column-width (+ fill-column 4)
1746 visual-fill-column-center-text t
1747 (append reading-modes) '(visual-fill-column-mode . +1))
1748 (:hook (defun visual-fill-column@setup ()
1749 (if visual-fill-column-mode
1750 (setq-local indicate-empty-lines nil
1751 indicate-buffer-boundaries nil)
1752 (acdw/setup-fringes))))
1753 (:advise text-scale-adjust :after #'visual-fill-column-adjust))
1754
1744(setup (:straight (orderless 1755(setup (:straight (orderless
1745 :host github 1756 :host github
1746 :repo "oantolin/orderless")) 1757 :repo "oantolin/orderless"))