1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-14 23:49:19 +08:00

Add doc for search index (#3484)

This commit is contained in:
Wang Shidong 2020-04-26 10:36:34 +08:00 committed by GitHub
parent 40811830eb
commit 340f179a96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View File

@ -509,6 +509,13 @@ SpaceVim 默认使用 `nerd fonts`,可参阅其安装指南进行安装。
![search status](https://cloud.githubusercontent.com/assets/13142418/26313080/578cc68c-3f3c-11e7-9259-a27419d49572.png)
搜索结果展示由`incsearch`模块提供,可以再配置中启用该模块:
```toml
[layers]
name = "incsearch"
```
**电池状态信息:**
_acpi_ 可展示电池电量剩余百分比。

View File

@ -522,6 +522,13 @@ Search index shows the number of occurrence when performing a search via `/` or
![search status](https://cloud.githubusercontent.com/assets/13142418/26313080/578cc68c-3f3c-11e7-9259-a27419d49572.png)
Search index is provided by `incsearch` layer, to enable this layer:
```toml
[layers]
name = "incsearch"
```
**Battery status integration:**
_acpi_ displays the percentage of total charge of the battery as well as the time remaining to charge or discharge completely the battery.