emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/visual-fill-column a2657f20f6 128/137: Add note about cent


From: ELPA Syncer
Subject: [nongnu] elpa/visual-fill-column a2657f20f6 128/137: Add note about centring text.
Date: Sun, 2 Jan 2022 22:59:21 -0500 (EST)

branch: elpa/visual-fill-column
commit a2657f20f675ac5d83069399146bf7da6db0ff9a
Author: Joost Kremers <joostkremers@fastmail.fm>
Commit: Joost Kremers <joostkremers@fastmail.fm>

    Add note about centring text.
---
 README.md | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/README.md b/README.md
index 404267c0c6..2bb03a2b16 100644
--- a/README.md
+++ b/README.md
@@ -37,6 +37,17 @@ In buffers that are explicitly right-to-left (i.e., those 
where `bidi-paragraph-
 Widening the margin normally causes the fringes to be pushed inward. Since 
this is visually less appealing, the fringes are placed outside the margins. 
You can undo this by setting the variable 
`visual-fill-column-fringes-outside-margins` to `nil`.
 
 
+## Centering the text ##
+
+If you wish to centre the buffer text, you can customise the option 
`visual-fill-column-center-text` and set it to `t`. This has the following 
effect:
+
+![screenshot after](centred.png)
+
+Note that `visual-fill-column-center-text` automatically becomes buffer-local 
when it is set. Therefore, if you wish to make this the default, either use the 
Customize interface or use `setq-default` in your init file, rather than `setq`:
+
+    (setq-default visual-fill-column-center-text t)
+
+
 ## Splitting a Window ##
 
 Emacs won’t vertically split a window (i.e., into two side-by-side windows) 
that has wide margins. As a result, displaying buffers such as `*Help*` 
buffers, `*Completion*` buffers, etc., won’t split a window vertically, even if 
there appears to be enough space for a vertical split. This is technically not 
problematic, but it may be undesirable from a user's point of view. To remedy 
this, you can set the option `visual-fill-column-enable-sensible-window-split`. 
When this option is set, th [...]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]