Skip to content

Commit

Permalink
Reflect changes to customization variable docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorpogue committed Feb 19, 2022
1 parent 512893f commit 960c5ca
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,19 @@ Bonus: If you use [`centered-cursor-mode`][1], this means that `topspace` will a
```
(defcustom topspace-autocenter-buffers
t
"Vertically center small buffers when first opened or window sizes change."
"Vertically center small buffers when first opened or window sizes change.
This is done by automatically calling `topspace-recenter-buffer',
which adds enough top space to center small buffers.
Top space will not be added if the number of text lines in the buffer is larger
than or close to the selected window's height.
Customize `topspace-center-position' to adjust the centering position."
:group 'topspace
:type 'boolean)
(defcustom topspace-center-position
0.5
"Suggested position when centering buffers as a ratio of frame height.
"Target position when centering buffers as a ratio of frame height.
A value from 0 to 1 where lower values center buffers higher up in the screen.
Used in `topspace-recenter-buffer' when called or when opening/resizing buffers
Expand Down

0 comments on commit 960c5ca

Please sign in to comment.