diff --git a/docs/cn/documentation.md b/docs/cn/documentation.md index b543597f1..a856378b7 100644 --- a/docs/cn/documentation.md +++ b/docs/cn/documentation.md @@ -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 将会在右边。 diff --git a/docs/documentation.md b/docs/documentation.md index 25c17879b..69e4a8a56 100644 --- a/docs/documentation.md +++ b/docs/documentation.md @@ -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: