mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 22:20:06 +08:00
Doc: fix typos. (#2483)
* Doc: fix typos. * Doc: fix typos. * Doc: set ff=unix. * Doc: set ff=unix.
This commit is contained in:
parent
f5c8244f2c
commit
38bf9583c0
22
README.md
22
README.md
@ -59,13 +59,13 @@ This is a list of latest features implemented in SpaceVim:
|
|||||||
Here is an example for using toml as SpaceVim config:
|
Here is an example for using toml as SpaceVim config:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
# This is basic configuration example for SpaceVim
|
# This is basic configuration example for SpaceVim.
|
||||||
|
|
||||||
# All SpaceVim options below [option] section
|
# All SpaceVim options below [options] snippet.
|
||||||
[options]
|
[options]
|
||||||
# set spacevim theme. by default colorscheme layer is not loaded,
|
# Set SpaceVim theme. By default colorscheme layer is not loaded.
|
||||||
# if you want to use more colorschemes, please load the colorscheme
|
# If you want to use more colorschemes, please load the colorscheme
|
||||||
# layer
|
# layer.
|
||||||
colorscheme = "gruvbox"
|
colorscheme = "gruvbox"
|
||||||
colorscheme_bg = "dark"
|
colorscheme_bg = "dark"
|
||||||
# Disable guicolors in basic mode, many terminal do not support 24bit
|
# Disable guicolors in basic mode, many terminal do not support 24bit
|
||||||
@ -85,14 +85,14 @@ Here is an example for using toml as SpaceVim config:
|
|||||||
|
|
||||||
# Enable autocomplete layer
|
# Enable autocomplete layer
|
||||||
[[layers]]
|
[[layers]]
|
||||||
name = 'autocomplete'
|
name = 'autocomplete'
|
||||||
auto-completion-return-key-behavior = "complete"
|
auto-completion-return-key-behavior = "complete"
|
||||||
auto-completion-tab-key-behavior = "cycle"
|
auto-completion-tab-key-behavior = "cycle"
|
||||||
|
|
||||||
[[layers]]
|
[[layers]]
|
||||||
name = 'shell'
|
name = 'shell'
|
||||||
default_position = 'top'
|
default_position = 'top'
|
||||||
default_height = 30
|
default_height = 30
|
||||||
```
|
```
|
||||||
|
|
||||||
**Iedit mode**
|
**Iedit mode**
|
||||||
|
@ -857,8 +857,8 @@ Denite/Unite 是一个强大的信息筛选浏览器,这类似于 Emacs 中的
|
|||||||
|
|
||||||
```toml
|
```toml
|
||||||
[[custom_plugins]]
|
[[custom_plugins]]
|
||||||
name = 'lilydjwg/colorizer'
|
name = 'lilydjwg/colorizer'
|
||||||
merged = false
|
merged = false
|
||||||
```
|
```
|
||||||
|
|
||||||
#### 界面元素显示切换
|
#### 界面元素显示切换
|
||||||
@ -1440,9 +1440,10 @@ endfunction
|
|||||||
| `SPC s w g` | Get Google suggestions in Vim. Opens Google results in Browser. |
|
| `SPC s w g` | Get Google suggestions in Vim. Opens Google results in Browser. |
|
||||||
| `SPC s w w` | Get Wikipedia suggestions in Vim. Opens Wikipedia page in Browser.(TODO) |
|
| `SPC s w w` | Get Wikipedia suggestions in Vim. Opens Wikipedia page in Browser.(TODO) |
|
||||||
|
|
||||||
**注意**: 为了在 Vim 中使用谷歌 suggestions,需要在 `~/.SpaceVim.d/init.toml` 的`[[options]]`片段中加入如下配置:
|
**注意**: 为了在 Vim 中使用谷歌 suggestions,需要在 `~/.SpaceVim.d/init.toml` 的`[options]`片段中加入如下配置:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
|
[options]
|
||||||
enable_googlesuggest = true
|
enable_googlesuggest = true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1172,7 +1172,7 @@ Navigation is centered on the `hjkl` keys with the hope of providing a fast navi
|
|||||||
|
|
||||||
##### Open file with file tree.
|
##### Open file with file tree.
|
||||||
|
|
||||||
If there is only one file buffer opened, a file is opened in the active window, otherwise we need to use vim-choosewin to select a window to open the file.
|
If only one file buffer is opened, a file is opened in the active window, otherwise we need to use vim-choosewin to select a window to open the file.
|
||||||
|
|
||||||
| Key Bindings | Descriptions |
|
| Key Bindings | Descriptions |
|
||||||
| -------------- | ----------------------------------------- |
|
| -------------- | ----------------------------------------- |
|
||||||
@ -1641,11 +1641,11 @@ In transient state:
|
|||||||
| `-` | decrease the number under point by one |
|
| `-` | decrease the number under point by one |
|
||||||
| Any other key | leave the transient state |
|
| Any other key | leave the transient state |
|
||||||
|
|
||||||
**Tips:** You can increase or decrease a value by more that once by using a prefix argument (i.e. `10 SPC n +` will add 10 to the number under point).
|
**Tips:** You can increase or decrease a number by more than once by using a prefix argument (i.e. `10 SPC n +` will add 10 to the number under cursor).
|
||||||
|
|
||||||
#### Replace text with iedit
|
#### Replace text with iedit
|
||||||
|
|
||||||
SpaceVim uses powerful iedit mode to quick edit multiple occurrences of a symbol or selection.
|
SpaceVim uses a powerful iedit mode to quick edit multiple occurrences of a symbol or selection.
|
||||||
|
|
||||||
**Two new modes:** `iedit-Normal`/`iedit-Insert`
|
**Two new modes:** `iedit-Normal`/`iedit-Insert`
|
||||||
|
|
||||||
@ -1757,7 +1757,7 @@ These following features have been added to runner and repl plugin:
|
|||||||
|
|
||||||
### Errors handling
|
### Errors handling
|
||||||
|
|
||||||
SpaceVim uses [neomake](https://github.com/neomake/neomake) to gives error feedback on the fly.
|
SpaceVim uses [neomake](https://github.com/neomake/neomake) to give error feedback on the fly.
|
||||||
The checks are only performed at save time by default.
|
The checks are only performed at save time by default.
|
||||||
|
|
||||||
Errors management mappings (start with e):
|
Errors management mappings (start with e):
|
||||||
@ -1805,7 +1805,7 @@ Project manager commands start with `p`:
|
|||||||
|
|
||||||
## EditorConfig
|
## EditorConfig
|
||||||
|
|
||||||
SpaceVim has support [EditorConfig](http://editorconfig.org/), a configuration file to “define and maintain consistent coding styles between different editors and IDEs.”
|
SpaceVim has supported [EditorConfig](http://editorconfig.org/), a configuration file to “define and maintain consistent coding styles between different editors and IDEs.”
|
||||||
|
|
||||||
To customize your editorconfig experience, read the [editorconfig-vim package’s documentation](https://github.com/editorconfig/editorconfig-vim/blob/master/README.md).
|
To customize your editorconfig experience, read the [editorconfig-vim package’s documentation](https://github.com/editorconfig/editorconfig-vim/blob/master/README.md).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user