mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 03:00:04 +08:00
docs(website): add doc about hide file tree by default
This commit is contained in:
parent
db8ea76c7a
commit
e8d636c708
@ -781,6 +781,13 @@ SpaceVim 的文件树提供了版本控制信息的接口,但是这一特性
|
||||
|
||||
![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` 选项。
|
||||
需要注意的是,当设置文件树在左边时,函数列表 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)
|
||||
|
||||
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,
|
||||
you can use the `filetree_direction` option:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user