1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 23:10:06 +08:00

docs(scrollbar): add doc about scrollbar

This commit is contained in:
wsdjeg 2022-04-22 11:53:22 +08:00
parent 8f1f93350e
commit 4b617500ec
3 changed files with 32 additions and 20 deletions

View File

@ -26,6 +26,7 @@ description: "General documentation about how to use SpaceVim, including the qui
- [Colorschemes](#colorschemes) - [Colorschemes](#colorschemes)
- [Font](#font) - [Font](#font)
- [Mouse](#mouse) - [Mouse](#mouse)
- [Scrollbar](#scrollbar)
- [UI Toggles](#ui-toggles) - [UI Toggles](#ui-toggles)
- [Statusline](#statusline) - [Statusline](#statusline)
- [Tabline](#tabline) - [Tabline](#tabline)
@ -570,6 +571,17 @@ endfunction
Read `:h 'mouse'` for more info. Read `:h 'mouse'` for more info.
### Scrollbar
The scrollbar is disabled by default. To enable the scrollbar,
you need to change `enable_scrollbar` option in [ui layer](../layers/ui/).
```
[[layers]]
name = "ui"
enable_scrollbar = true
```
### UI Toggles ### UI Toggles
Some UI indicators can be toggled on and off (toggles start with t and T): Some UI indicators can be toggled on and off (toggles start with t and T):