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)
|
2019-10-01 19:49:54 +08:00
|
|
|
- [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.
|
2019-10-01 19:49:54 +08:00
|
|
|
|
2018-09-12 20:14:20 +08:00
|
|
|
## Features
|
2019-01-07 21:15:22 +08:00
|
|
|
|
2019-10-01 19:49:54 +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
|
|
|
|
2019-10-01 19:49:54 +08:00
|
|
|
- `filetree_show_hidden`: option for showing hidden file in filetree, disabled by default.
|
|
|
|
|
|
|
|
```toml
|
|
|
|
[[layers]]
|
|
|
|
name = 'core'
|
|
|
|
filetree_show_hidden = true
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|