1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 10:30:05 +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:
ssfjhh 2019-01-22 14:07:48 +08:00 committed by Wang Shidong
parent f5c8244f2c
commit 38bf9583c0
3 changed files with 20 additions and 19 deletions

View File

@ -59,13 +59,13 @@ This is a list of latest features implemented in SpaceVim:
Here is an example for using toml as SpaceVim config:
```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]
# set spacevim theme. by default colorscheme layer is not loaded,
# if you want to use more colorschemes, please load the colorscheme
# layer
# Set SpaceVim theme. By default colorscheme layer is not loaded.
# If you want to use more colorschemes, please load the colorscheme
# layer.
colorscheme = "gruvbox"
colorscheme_bg = "dark"
# 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
[[layers]]
name = 'autocomplete'
auto-completion-return-key-behavior = "complete"
auto-completion-tab-key-behavior = "cycle"
name = 'autocomplete'
auto-completion-return-key-behavior = "complete"
auto-completion-tab-key-behavior = "cycle"
[[layers]]
name = 'shell'
default_position = 'top'
default_height = 30
name = 'shell'
default_position = 'top'
default_height = 30
```
**Iedit mode**

View File

@ -857,8 +857,8 @@ Denite/Unite 是一个强大的信息筛选浏览器,这类似于 Emacs 中的
```toml
[[custom_plugins]]
name = 'lilydjwg/colorizer'
merged = false
name = 'lilydjwg/colorizer'
merged = false
```
#### 界面元素显示切换
@ -1440,9 +1440,10 @@ endfunction
| `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) |
**注意**: 为了在 Vim 中使用谷歌 suggestions需要在 `~/.SpaceVim.d/init.toml` 的`[[options]]`片段中加入如下配置:
**注意**: 为了在 Vim 中使用谷歌 suggestions需要在 `~/.SpaceVim.d/init.toml` 的`[options]`片段中加入如下配置:
```toml
[options]
enable_googlesuggest = true
```

View File

@ -1172,7 +1172,7 @@ Navigation is centered on the `hjkl` keys with the hope of providing a fast navi
##### 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 |
| -------------- | ----------------------------------------- |
@ -1641,11 +1641,11 @@ In transient state:
| `-` | decrease the number under point by one |
| 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
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`
@ -1757,7 +1757,7 @@ These following features have been added to runner and repl plugin:
### 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.
Errors management mappings (start with e):
@ -1805,7 +1805,7 @@ Project manager commands start with `p`:
## 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 packages documentation](https://github.com/editorconfig/editorconfig-vim/blob/master/README.md).