Enable visual-fill-column for Info-mode with custom width of 80
Reduce default visual-fill-column width to 120
This commit is contained in:
parent
b3d080ae51
commit
75269f8761
10
README.org
10
README.org
|
@ -193,9 +193,15 @@ Configure the look and feel of Emacs
|
||||||
(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 ((prog-mode . (lambda () (visual-line-mode +1) (visual-fill-column-mode +1))))
|
:hook ((prog-mode . (lambda ()
|
||||||
|
(visual-line-mode +1)
|
||||||
|
(visual-fill-column-mode +1)))
|
||||||
|
(Info-mode . (lambda ()
|
||||||
|
(setq-local visual-fill-column-width 80)
|
||||||
|
(visual-line-mode +1)
|
||||||
|
(visual-fill-column-mode +1))))
|
||||||
:custom
|
:custom
|
||||||
(visual-fill-column-width 160)
|
(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
|
||||||
|
|
Loading…
Reference in a new issue