summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 553186d..629833d 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -184,9 +184,12 @@
 ;; Reading prose with long lines is a chore.  Luckily there are several packages in emacs to make the windows squeeze text into a more legible sliver.  Previously i used olivetti, which is a really nice package, but it's quite heavyweight and broke on me with no explanation more frequently than i appreciated.  I've switched to visual-fill-column and been quite satisfied.
 
 ;; (package-ensure 'visual-fill-column)
-(setopt visual-fill-column-enable-sensible-window-split t)
-(setopt visual-fill-column-center-text t)
-(advice-add 'text-scale-adjust :after #'visual-fill-column-adjust)
+(use-package visual-fill-column
+  :ensure t
+  :custom
+  (visual-fill-column-enable-sensible-window-split t))
+
+;; (advice-add 'text-scale-adjust :after #'visual-fill-column-adjust)
 
 (add-hook 'text-mode-hook #'visual-line-fill-column-mode)
 (add-hook 'eww-after-render-hook #'visual-line-fill-column-mode)