2017-10-07 23:46:22 +08:00
|
|
|
---
|
|
|
|
title: "SpaceVim lang#vim layer"
|
2019-02-03 20:51:01 +08:00
|
|
|
description: "This layer is for writting Vimscript, including code completion, syntax checking and buffer formatting"
|
2017-10-07 23:46:22 +08:00
|
|
|
---
|
|
|
|
|
2018-06-23 14:37:41 +08:00
|
|
|
# [Available Layers](../../) >> lang#vim
|
2017-10-07 23:46:22 +08:00
|
|
|
|
|
|
|
<!-- vim-markdown-toc GFM -->
|
|
|
|
|
|
|
|
- [Description](#description)
|
2018-06-23 14:37:41 +08:00
|
|
|
- [Install](#install)
|
2017-10-07 23:46:22 +08:00
|
|
|
- [Key bindings](#key-bindings)
|
|
|
|
|
|
|
|
<!-- vim-markdown-toc -->
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
2018-06-23 14:37:41 +08:00
|
|
|
This layer is for writting vim script, including code completion, syntax checking and buffer formatting
|
2017-10-07 23:46:22 +08:00
|
|
|
|
2018-06-23 14:37:41 +08:00
|
|
|
## Install
|
2017-10-07 23:46:22 +08:00
|
|
|
|
2018-06-23 14:37:41 +08:00
|
|
|
To use this configuration layer, update custom configuration file with:
|
|
|
|
|
|
|
|
```toml
|
|
|
|
[[layers]]
|
|
|
|
name = "lang#vim"
|
|
|
|
```
|
2017-10-07 23:46:22 +08:00
|
|
|
|
|
|
|
## Key bindings
|
|
|
|
|
2019-02-03 20:51:01 +08:00
|
|
|
| Key Bindings | Descriptions |
|
|
|
|
| ------------ | ----------------------------------------- |
|
|
|
|
| `SPC l e` | print the eval under the cursor |
|
|
|
|
| `SPC l v` | print the helpfulversion under the cursor |
|