Back to Spacevim

SpaceVim chinese layer

docs/layers/chinese.md

2.4.01.0 KB
Original Source

Available Layers >> chinese

<!-- vim-markdown-toc GFM --> <!-- vim-markdown-toc -->

Description

This layer is for Chinese users, and provide Chinese documentations and runtime messages.

Install

Add the following snippet to your custom configuration file to use this configuration layer.

toml
[[layers]]
  name = "chinese"

Configuration

Add the following snippet to your custom config file to enable this feature.

toml
[options]
    vim_help_language = "cn"

Key bindings

Key BindingDescription
SPC x t tTranslate current word
SPC x g cCheck with ChineseLinter
SPC n c dConvert Chinese Number to Digit
SPC n c zTranslate digits to lower Chinese Number
SPC n c ZTranslate digits to upper Chinese Number