1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-12 01:27:53 +08:00

docs(website): add doc about hide file tree by default

This commit is contained in:
Kun Lin 2021-11-26 12:01:15 +08:00 committed by GitHub
parent db8ea76c7a
commit e8d636c708
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

@ -781,6 +781,13 @@ SpaceVim 的文件树提供了版本控制信息的接口,但是这一特性
![file-tree](https://user-images.githubusercontent.com/13142418/80496111-5065b380-899b-11ea-95c7-02af4d304aaf.png) ![file-tree](https://user-images.githubusercontent.com/13142418/80496111-5065b380-899b-11ea-95c7-02af4d304aaf.png)
默认情况下文件树是打开的,如果需要设置文件树默认关闭,需要修改 `enable_vimfiler_welcome` 选项。
```toml
[options]
enable_vimfiler_welcome = false
```
默认情况下文件树是在窗口的右边打开,如果需要设置文件树默认在左边,需要修改 `filetree_direction` 选项。 默认情况下文件树是在窗口的右边打开,如果需要设置文件树默认在左边,需要修改 `filetree_direction` 选项。
需要注意的是,当设置文件树在左边时,函数列表 tagbar 将会在右边。 需要注意的是,当设置文件树在左边时,函数列表 tagbar 将会在右边。

@ -851,6 +851,13 @@ to your custom configuration file. Here is a picture of this feature:
![file-tree](https://user-images.githubusercontent.com/13142418/80496111-5065b380-899b-11ea-95c7-02af4d304aaf.png) ![file-tree](https://user-images.githubusercontent.com/13142418/80496111-5065b380-899b-11ea-95c7-02af4d304aaf.png)
There is also an option to configure show/hide the file tree, default to show. To hide the file tree by default, you can use the `enable_vimfiler_welcome` option:
```toml
[options]
enable_vimfiler_welcome = false
```
There is also an option to configure the side of the file tree, by default it is right. To move the file tree to the left, There is also an option to configure the side of the file tree, by default it is right. To move the file tree to the left,
you can use the `filetree_direction` option: you can use the `filetree_direction` option: