1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-09 09:20:06 +08:00

docs(key): format key binding list

This commit is contained in:
Eric Wong 2024-03-02 20:40:27 +08:00
parent 3ce8cfd6dc
commit f56ae9c4db
2 changed files with 48 additions and 50 deletions

View File

@ -551,7 +551,6 @@ endfunction
更多信息可以阅读 `:h 'mouse'` 更多信息可以阅读 `:h 'mouse'`
### 滚动条 ### 滚动条
窗口右侧的滚动条默认是关闭的,如果需要启动滚动条,需要修改[ui 模块](../layers/ui/)的 `enable_scrollbar` 选项: 窗口右侧的滚动条默认是关闭的,如果需要启动滚动条,需要修改[ui 模块](../layers/ui/)的 `enable_scrollbar` 选项:
@ -566,26 +565,26 @@ endfunction
所有的界面元素切换快捷键都以 `[SPC] t``[SPC] T` 开头,你可以在快捷键导航中查阅所有快捷键。 所有的界面元素切换快捷键都以 `[SPC] t``[SPC] T` 开头,你可以在快捷键导航中查阅所有快捷键。
| 快捷键 | 功能描述 | | 快捷键 | 功能描述 |
| ----------- | ----------------------------------------- | | ----------------- | ----------------------------------------- |
| `SPC t 8` | 高亮所有超过 80 列的字符 | | `SPC t 8` | 高亮所有超过 80 列的字符 |
| `SPC t f` | 高亮临界列,默认 `max_column` 是第 120 列 | | `SPC t f` | 高亮临界列,默认 `max_column` 是第 120 列 |
| `SPC t h h` | 高亮当前行 | | `SPC t h h` | 高亮当前行 |
| `SPC t h i` | 高亮代码对齐线 | | `SPC t h i` | 高亮代码对齐线 |
| `SPC t h c` | 高亮光标所在列 | | `SPC t h c` | 高亮光标所在列 |
| `SPC t h s` | 启用/禁用语法高亮 | | `SPC t h s` | 启用/禁用语法高亮 |
| `SPC t i` | 切换显示当前对齐(TODO) | | `SPC t i` | 切换显示当前对齐(TODO) |
| `SPC t n` | 显示/隐藏行号 | | `SPC t n` | 显示/隐藏行号 |
| `SPC t b` | 切换背景色 | | `SPC t b` | 切换背景色 |
| `SPC t c` | 切换 conceal 模式 | | `SPC t c` | 切换 conceal 模式 |
| `SPC t p` | 切换 paste 模式 | | `SPC t p` | 切换 paste 模式 |
| `SPC t P` | 切换 auto parens 模式 | | `SPC t P` | 切换 auto parens 模式 |
| `SPC t t` | 打开 Tab 管理器 | | `SPC t t` | 打开 Tab 管理器 |
| `SPC T ~` | 显示/隐藏 Buffer 结尾空行行首的 `~` | | `SPC T ~` | 显示/隐藏 Buffer 结尾空行行首的 `~` |
| `SPC T F` | 切换全屏(TODO) | | `SPC T F` / `F11` | 切换全屏 |
| `SPC T f` | 显示/隐藏 Vim 边框(GUI) | | `SPC T f` | 显示/隐藏 Vim 边框(GUI) |
| `SPC T m` | 显示/隐藏菜单栏 | | `SPC T m` | 显示/隐藏菜单栏 |
| `SPC T t` | 显示/隐藏工具栏 | | `SPC T t` | 显示/隐藏工具栏 |
### 状态栏 ### 状态栏
@ -675,8 +674,8 @@ _acpi_ 可展示电池电量剩余百分比。
SpaceVim 所支持的分割符以及截图如下: SpaceVim 所支持的分割符以及截图如下:
| 分割符 | 截图 | | 分割符 | 截图 |
| ------- | ------------------------------------------------------------------------------------------------------------------------- | | ------- | ------------------------------------------------------------------------------------- |
| `arrow` | ![separator-arrow](https://img.spacevim.org/b28bdc04-3c98-11e7-937e-641c9d85c493.png) | | `arrow` | ![separator-arrow](https://img.spacevim.org/b28bdc04-3c98-11e7-937e-641c9d85c493.png) |
| `curve` | ![separator-curve](https://img.spacevim.org/42bbf6e8-3cd4-11e7-8792-665447040f49.png) | | `curve` | ![separator-curve](https://img.spacevim.org/42bbf6e8-3cd4-11e7-8792-665447040f49.png) |
| `slant` | ![separator-slant](https://img.spacevim.org/53a65ea2-3cd5-11e7-8758-d079c5a9c2d6.png) | | `slant` | ![separator-slant](https://img.spacevim.org/53a65ea2-3cd5-11e7-8758-d079c5a9c2d6.png) |
@ -2374,7 +2373,7 @@ SpaceVim 通过默认通过 [checkers](../layers/checkers/) 模块来进行文
| 提示符 | 描述 | 自定义选项 | | 提示符 | 描述 | 自定义选项 |
| ------ | ------- | ---------------- | | ------ | ------- | ---------------- |
| `✖` | Error | `error_symbol` | | `✖` | Error | `error_symbol` |
| `➤` | warning | `warning_symbol` | | `➤` | warning | `warning_symbol` |
| `ⓘ` | Info | `info_symbol` | | `ⓘ` | Info | `info_symbol` |

View File

@ -603,27 +603,27 @@ To enable the scrollbar, you need to change `enable_scrollbar` option in [ui lay
Some UI indicators can be toggled on and off (toggles start with t and T): Some UI indicators can be toggled on and off (toggles start with t and T):
| Key Bindings | Descriptions | | Key Bindings | Descriptions |
| ------------ | -------------------------------------------------------------------------- | | ----------------- | -------------------------------------------------------------------------- |
| `SPC t 8` | highlight characters past the 80th column | | `SPC t 8` | highlight characters past the 80th column |
| `SPC t a` | toggle autocomplete (only available with `autocomplete_method = deoplete`) | | `SPC t a` | toggle autocomplete (only available with `autocomplete_method = deoplete`) |
| `SPC t f` | display the fill column (by default `max_column` is 120) | | `SPC t f` | display the fill column (by default `max_column` is 120) |
| `SPC t h h` | toggle highlight of the current line | | `SPC t h h` | toggle highlight of the current line |
| `SPC t h i` | toggle highlight indentation levels | | `SPC t h i` | toggle highlight indentation levels |
| `SPC t h c` | toggle highlight current column | | `SPC t h c` | toggle highlight current column |
| `SPC t h s` | toggle syntax highlighting | | `SPC t h s` | toggle syntax highlighting |
| `SPC t i` | toggle indentation guide at point | | `SPC t i` | toggle indentation guide at point |
| `SPC t n` | toggle line numbers | | `SPC t n` | toggle line numbers |
| `SPC t b` | toggle background | | `SPC t b` | toggle background |
| `SPC t c` | toggle conceal | | `SPC t c` | toggle conceal |
| `SPC t p` | toggle paste mode | | `SPC t p` | toggle paste mode |
| `SPC t P` | toggle auto parens mode | | `SPC t P` | toggle auto parens mode |
| `SPC t t` | open tabs manager | | `SPC t t` | open tabs manager |
| `SPC T ~` | display ~ in the fringe on empty lines | | `SPC T ~` | display ~ in the fringe on empty lines |
| `SPC T F` | toggle frame fullscreen | | `SPC T F` / `F11` | toggle frame fullscreen |
| `SPC T f` | toggle display of the fringe | | `SPC T f` | toggle display of the fringe |
| `SPC T m` | toggle menu bar | | `SPC T m` | toggle menu bar |
| `SPC T t` | toggle tool bar | | `SPC T t` | toggle tool bar |
### Statusline ### Statusline
@ -717,8 +717,8 @@ It is possible to easily customize the statusline separator by setting the `stat
Here is an exhaustive set of screenshots for all the available separators: Here is an exhaustive set of screenshots for all the available separators:
| Separator | Screenshot | | Separator | Screenshot |
| --------- | ------------------------------------------------------------------------------------------------------------------------- | | --------- | ------------------------------------------------------------------------------------- |
| `arrow` | ![separator-arrow](https://img.spacevim.org/b28bdc04-3c98-11e7-937e-641c9d85c493.png) | | `arrow` | ![separator-arrow](https://img.spacevim.org/b28bdc04-3c98-11e7-937e-641c9d85c493.png) |
| `curve` | ![separator-curve](https://img.spacevim.org/42bbf6e8-3cd4-11e7-8792-665447040f49.png) | | `curve` | ![separator-curve](https://img.spacevim.org/42bbf6e8-3cd4-11e7-8792-665447040f49.png) |
| `slant` | ![separator-slant](https://img.spacevim.org/53a65ea2-3cd5-11e7-8758-d079c5a9c2d6.png) | | `slant` | ![separator-slant](https://img.spacevim.org/53a65ea2-3cd5-11e7-8758-d079c5a9c2d6.png) |
@ -2409,7 +2409,6 @@ Example:
![todo manager](https://img.spacevim.org/61462920-0bd9d000-a9a6-11e9-8e1f-c70d6ec6ca1e.png) ![todo manager](https://img.spacevim.org/61462920-0bd9d000-a9a6-11e9-8e1f-c70d6ec6ca1e.png)
**Known bug:** **Known bug:**
If you are using windows, and `grep.exe` do not support searching in subdirectory. and the stderr will shown: If you are using windows, and `grep.exe` do not support searching in subdirectory. and the stderr will shown:
@ -2496,7 +2495,7 @@ The default color for iedit is `red`/`green` which is based on the current color
SpaceVim provides an asynchronous code runner plugin. In most language layers, SpaceVim provides an asynchronous code runner plugin. In most language layers,
the key binding `SPC l r` is defined for running the current buffer. the key binding `SPC l r` is defined for running the current buffer.
To close the code runner windows, you can use `` Ctrl-` `` key binding. To close the code runner windows, you can use ``Ctrl-` `` key binding.
If you need to add new commands, you can use the bootstrap function. For example: If you need to add new commands, you can use the bootstrap function. For example:
Use `F5` to build the project asynchronously. Use `F5` to build the project asynchronously.
@ -2597,7 +2596,7 @@ Custom sign symbol:
| Symbol | Descriptions | Custom options | | Symbol | Descriptions | Custom options |
| ------ | ------------ | ---------------- | | ------ | ------------ | ---------------- |
| `✖` | Error | `error_symbol` | | `✖` | Error | `error_symbol` |
| `➤` | warning | `warning_symbol` | | `➤` | warning | `warning_symbol` |
| `ⓘ` | Info | `info_symbol` | | `ⓘ` | Info | `info_symbol` |