File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,19 @@ Bonus: If you use [`centered-cursor-mode`][1], this means that `topspace` will a
18
18
```
19
19
(defcustom topspace-autocenter-buffers
20
20
t
21
- "Vertically center small buffers when first opened or window sizes change."
21
+ "Vertically center small buffers when first opened or window sizes change.
22
+
23
+ This is done by automatically calling `topspace-recenter-buffer',
24
+ which adds enough top space to center small buffers.
25
+ Top space will not be added if the number of text lines in the buffer is larger
26
+ than or close to the selected window's height.
27
+ Customize `topspace-center-position' to adjust the centering position."
22
28
:group 'topspace
23
29
:type 'boolean)
24
30
25
31
(defcustom topspace-center-position
26
32
0.5
27
- "Suggested position when centering buffers as a ratio of frame height.
33
+ "Target position when centering buffers as a ratio of frame height.
28
34
A value from 0 to 1 where lower values center buffers higher up in the screen.
29
35
30
36
Used in `topspace-recenter-buffer' when called or when opening/resizing buffers
You can’t perform that action at this time.
0 commit comments