1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 09:40:06 +08:00
SpaceVim/docs/cn/layers/core.md

37 lines
813 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: "SpaceVim core 模块"
description: "这一模块为 SpaceVim 提供了启动及基本操作所必须的插件及配置。"
lang: zh
---
# [可用模块](../) >> core
## 模块简介
该模块主要包括 SpaceVim 启动时所必须的配置,默认已启用。
## 功能特性
### 文件树
nerdtree 或者 vimfiler默认为 vimfiler`filemanager` 选项控制。
如果需要使用 nerdtree 作为文件树插件,可以添加:
```toml
[options]
filemanager = "nerdtree"
```
## 模块配置
- `filetree_show_hidden`: 在文件树内显示隐藏的文件,默认是 false。
- `enable_smooth_scrolling`: 启用或者禁用平滑滚屏快捷键,默认已启用。
```toml
[[layers]]
name = 'core'
filetree_show_hidden = true
enable_smooth_scrolling = true
```