1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:20:04 +08:00
SpaceVim/docs/layers/core.md

46 lines
841 B
Markdown
Raw Normal View History

2018-09-12 20:14:20 +08:00
---
title: "SpaceVim core layer"
description: "SpaceVim core layer provides many default key bindings and features."
---
# [Available Layers](../) >> core
2019-01-07 21:15:22 +08:00
2018-09-12 20:14:20 +08:00
<!-- vim-markdown-toc GFM -->
- [Intro](#intro)
- [Features](#features)
- [FileTree](#filetree)
2018-09-12 20:14:20 +08:00
- [Configuration](#configuration)
<!-- vim-markdown-toc -->
## Intro
2019-01-07 21:15:22 +08:00
2021-06-21 20:39:29 +08:00
This is the core layer of SpaceVim, and it is loaded by default.
2018-09-12 20:14:20 +08:00
## Features
2019-01-07 21:15:22 +08:00
### FileTree
The filetree plugin is included in core layer, by default `vimfiler` is used as filetree manager.
To use nerdtree or defx, please add following snippet into your configuration file.
```toml
[options]
filemanager = "nerdtree"
```
2018-09-12 20:14:20 +08:00
## Configuration
2019-01-07 21:15:22 +08:00
- `filetree_show_hidden`: option for showing hidden file in filetree, disabled by default.
```toml
[[layers]]
name = 'core'
filetree_show_hidden = true
```