mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 01:00:05 +08:00
Update doc and wiki (#3353)
This commit is contained in:
parent
95a1f6be9a
commit
07fe224817
@ -81,11 +81,11 @@ lang: zh
|
|||||||
- [任务管理](#任务管理)
|
- [任务管理](#任务管理)
|
||||||
- [Iedit 多光标编辑](#iedit-多光标编辑)
|
- [Iedit 多光标编辑](#iedit-多光标编辑)
|
||||||
- [Iedit 快捷键](#iedit-快捷键)
|
- [Iedit 快捷键](#iedit-快捷键)
|
||||||
|
- [高亮光标下变量](#高亮光标下变量)
|
||||||
- [异步运行器和交互式编程](#异步运行器和交互式编程)
|
- [异步运行器和交互式编程](#异步运行器和交互式编程)
|
||||||
- [错误处理](#错误处理)
|
- [错误处理](#错误处理)
|
||||||
- [格式规范](#格式规范)
|
- [格式规范](#格式规范)
|
||||||
- [后台服务](#后台服务)
|
- [后台服务](#后台服务)
|
||||||
- [高亮光标下变量](#高亮光标下变量)
|
|
||||||
|
|
||||||
<!-- vim-markdown-toc -->
|
<!-- vim-markdown-toc -->
|
||||||
|
|
||||||
@ -1134,16 +1134,6 @@ SpaceVim 相关的快捷键均以 `SPC f v` 为前缀,这便于快速访问 Sp
|
|||||||
|
|
||||||
可通过快捷键 `<leader> l p` 列出所有已安装的插件,支持模糊搜索,回车将使用浏览器打开该插件的官网。
|
可通过快捷键 `<leader> l p` 列出所有已安装的插件,支持模糊搜索,回车将使用浏览器打开该插件的官网。
|
||||||
|
|
||||||
**添加用户自定义插件**
|
|
||||||
|
|
||||||
如果添加来自于 github.com 的插件,可以 `用户名/仓库名` 这一格式,将该插件添加到 `[[ustom_plugins]]`,示例如下:
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[[custom_plugins]]
|
|
||||||
name = 'lilydjwg/colorizer'
|
|
||||||
merged = false
|
|
||||||
```
|
|
||||||
|
|
||||||
### 模糊搜索
|
### 模糊搜索
|
||||||
|
|
||||||
目前一共有五种模糊搜索的模块,分别对应不同的工具:
|
目前一共有五种模糊搜索的模块,分别对应不同的工具:
|
||||||
@ -1762,6 +1752,43 @@ SpaceVim 内置了 iedit 多光标模式,可快速进行多光标编辑。这
|
|||||||
| `Ctrl-h` / `<BackSpace>` | 删除光标前字符 |
|
| `Ctrl-h` / `<BackSpace>` | 删除光标前字符 |
|
||||||
| `<Delete>` | 删除光标后字符 |
|
| `<Delete>` | 删除光标后字符 |
|
||||||
|
|
||||||
|
### 高亮光标下变量
|
||||||
|
|
||||||
|
SpaceVim 支持高亮当前光标下的变量,并且启动一个临时快捷键窗口,
|
||||||
|
提示可以通过快捷键进行修改高亮范围,以及下一步的操作。
|
||||||
|
|
||||||
|
目前支持的高亮范围包括:
|
||||||
|
|
||||||
|
- 整个缓冲区(buffer)
|
||||||
|
- 当前函数内(function)
|
||||||
|
- 可见区域(visible area)
|
||||||
|
|
||||||
|
使用快捷键 `SPC s h` 来高亮光标下的符号。
|
||||||
|
|
||||||
|
可使用如下快捷键在已高亮的变量间跳转:
|
||||||
|
|
||||||
|
| 快捷键 | 功能描述 |
|
||||||
|
| --------- | -------------------------------- |
|
||||||
|
| `*` | 在当前缓冲区正向搜索光标下变量 |
|
||||||
|
| `#` | 在当前缓冲区逆向搜索光标下变量 |
|
||||||
|
| `SPC s e` | 启动 iedit 模式,编辑光标下变量 |
|
||||||
|
| `SPC s h` | 使用默认的的范围高亮光标下的变量 |
|
||||||
|
| `SPC s H` | 高亮当前缓冲区下所有的光标下变量 |
|
||||||
|
|
||||||
|
在高亮临时快捷键模式下可使用如下快捷键:
|
||||||
|
|
||||||
|
| 快捷键 | 功能描述 |
|
||||||
|
| ------------- | ------------------------ |
|
||||||
|
| `e` | 启动 iedit 模式 |
|
||||||
|
| `n` | 跳至下一个匹配处 |
|
||||||
|
| `N` / `p` | 跳至上一个匹配处 |
|
||||||
|
| `b` | 在整个缓冲区内高亮该匹配 |
|
||||||
|
| `/` | 在整个工程内检索当前匹配 |
|
||||||
|
| `<Tab>` | 切换当前匹配高亮状态 |
|
||||||
|
| `r` | 切换匹配的范围 |
|
||||||
|
| `R` | 重置匹配的范围 |
|
||||||
|
| Any other key | 退出该临时快捷键模式 |
|
||||||
|
|
||||||
### 异步运行器和交互式编程
|
### 异步运行器和交互式编程
|
||||||
|
|
||||||
SpaceVim 提供了一个异步执行命令和交互式编程的插件,
|
SpaceVim 提供了一个异步执行命令和交互式编程的插件,
|
||||||
@ -1843,41 +1870,5 @@ export PATH=$PATH:$HOME/.SpaceVim/bin
|
|||||||
|
|
||||||
![server-and-client](https://user-images.githubusercontent.com/13142418/32554968-7164fe9c-c4d6-11e7-95f7-f6a6ea75e05b.gif)
|
![server-and-client](https://user-images.githubusercontent.com/13142418/32554968-7164fe9c-c4d6-11e7-95f7-f6a6ea75e05b.gif)
|
||||||
|
|
||||||
## 高亮光标下变量
|
|
||||||
|
|
||||||
SpaceVim 支持高亮当前光标下的变量,并且启动一个临时快捷键窗口,
|
|
||||||
提示可以通过快捷键进行修改高亮范围,以及下一步的操作。
|
|
||||||
|
|
||||||
目前支持的高亮范围包括:
|
|
||||||
|
|
||||||
- 整个缓冲区(buffer)
|
|
||||||
- 当前函数内(function)
|
|
||||||
- 可见区域(visible area)
|
|
||||||
|
|
||||||
使用快捷键 `SPC s h` 来高亮光标下的符号。
|
|
||||||
|
|
||||||
可使用如下快捷键在已高亮的变量间跳转:
|
|
||||||
|
|
||||||
| 快捷键 | 功能描述 |
|
|
||||||
| --------- | -------------------------------- |
|
|
||||||
| `*` | 在当前缓冲区正向搜索光标下变量 |
|
|
||||||
| `#` | 在当前缓冲区逆向搜索光标下变量 |
|
|
||||||
| `SPC s e` | 启动 iedit 模式,编辑光标下变量 |
|
|
||||||
| `SPC s h` | 使用默认的的范围高亮光标下的变量 |
|
|
||||||
| `SPC s H` | 高亮当前缓冲区下所有的光标下变量 |
|
|
||||||
|
|
||||||
在高亮临时快捷键模式下可使用如下快捷键:
|
|
||||||
|
|
||||||
| 快捷键 | 功能描述 |
|
|
||||||
| ------------- | ------------------------ |
|
|
||||||
| `e` | 启动 iedit 模式 |
|
|
||||||
| `n` | 跳至下一个匹配处 |
|
|
||||||
| `N` / `p` | 跳至上一个匹配处 |
|
|
||||||
| `b` | 在整个缓冲区内高亮该匹配 |
|
|
||||||
| `/` | 在整个工程内检索当前匹配 |
|
|
||||||
| `<Tab>` | 切换当前匹配高亮状态 |
|
|
||||||
| `r` | 切换匹配的范围 |
|
|
||||||
| `R` | 重置匹配的范围 |
|
|
||||||
| Any other key | 退出该临时快捷键模式 |
|
|
||||||
|
|
||||||
<!-- vim:set nowrap cole=0: -->
|
<!-- vim:set nowrap cole=0: -->
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -7,6 +7,56 @@
|
|||||||
<!-- call SpaceVim#dev#followHEAD#update('cn') -->
|
<!-- call SpaceVim#dev#followHEAD#update('cn') -->
|
||||||
<!-- SpaceVim follow HEAD en start -->
|
<!-- SpaceVim follow HEAD en start -->
|
||||||
|
|
||||||
|
#### 新特性
|
||||||
|
|
||||||
|
- Add backgroud task support [#3351](https://github.com/SpaceVim/SpaceVim/pull/3351)
|
||||||
|
- Add file copy key binding [#3348](https://github.com/SpaceVim/SpaceVim/pull/3348)
|
||||||
|
- Add tasks support [#3346](https://github.com/SpaceVim/SpaceVim/pull/3346)
|
||||||
|
- Add bang support for Alt file command [#3331](https://github.com/SpaceVim/SpaceVim/pull/3331)
|
||||||
|
- Add lang#janet layer [#3330](https://github.com/SpaceVim/SpaceVim/pull/3330)
|
||||||
|
- Add lang#xquery layer [#3327](https://github.com/SpaceVim/SpaceVim/pull/3327)
|
||||||
|
- Add lang#lasso layer [#3314](https://github.com/SpaceVim/SpaceVim/pull/3314)
|
||||||
|
- Add lang#asepctj layer [#3313](https://github.com/SpaceVim/SpaceVim/pull/3313)
|
||||||
|
- Add lang#ring layer [#3311](https://github.com/SpaceVim/SpaceVim/pull/3311)
|
||||||
|
- Add type support for A plugin [#3308](https://github.com/SpaceVim/SpaceVim/pull/3308)
|
||||||
|
- Add lang#wdl layer [#3307](https://github.com/SpaceVim/SpaceVim/pull/3307)
|
||||||
|
- Add icons and git status to defx [#3303](https://github.com/SpaceVim/SpaceVim/pull/3303)
|
||||||
|
- Add chez dialect for lang#scheme layer [#3302](https://github.com/SpaceVim/SpaceVim/pull/3302)
|
||||||
|
- Add support for config alt file [#3283](https://github.com/SpaceVim/SpaceVim/pull/3283)
|
||||||
|
- Add blog about code runner and REPL [#2390](https://github.com/SpaceVim/SpaceVim/pull/2390)
|
||||||
|
|
||||||
|
#### 问题修复
|
||||||
|
|
||||||
|
- fix: Make tmux layer use statusline_iseparator and added separators. [#3342](https://github.com/SpaceVim/SpaceVim/pull/3342)
|
||||||
|
- Fix(lsp): multiple language server registration bug [#3338](https://github.com/SpaceVim/SpaceVim/pull/3338)
|
||||||
|
- Fix compile info [#3329](https://github.com/SpaceVim/SpaceVim/pull/3329)
|
||||||
|
- Fix lua runtime path [#3317](https://github.com/SpaceVim/SpaceVim/pull/3317)
|
||||||
|
- Fix runner and repl [#3305](https://github.com/SpaceVim/SpaceVim/pull/3305)
|
||||||
|
- Fix python runner [#3304](https://github.com/SpaceVim/SpaceVim/pull/3304)
|
||||||
|
- Fix shell key binding [#3293](https://github.com/SpaceVim/SpaceVim/pull/3293)
|
||||||
|
- Fix code runner [#3292](https://github.com/SpaceVim/SpaceVim/pull/3292)
|
||||||
|
- Fix minor typo 'opjects' -> 'objects' [#3284](https://github.com/SpaceVim/SpaceVim/pull/3284)
|
||||||
|
- Fix spc s a j text [#3281](https://github.com/SpaceVim/SpaceVim/pull/3281)
|
||||||
|
|
||||||
|
#### 未知
|
||||||
|
|
||||||
|
- Remove plugins [#3352](https://github.com/SpaceVim/SpaceVim/pull/3352)
|
||||||
|
- Ale owership transferred from w0rp to dense-analysis [#3345](https://github.com/SpaceVim/SpaceVim/pull/3345)
|
||||||
|
- Replace markdown preview plugins [#3337](https://github.com/SpaceVim/SpaceVim/pull/3337)
|
||||||
|
- Rust layer enhancement [#3336](https://github.com/SpaceVim/SpaceVim/pull/3336)
|
||||||
|
- Improve general doc [#3333](https://github.com/SpaceVim/SpaceVim/pull/3333)
|
||||||
|
- Update ring.md [#3328](https://github.com/SpaceVim/SpaceVim/pull/3328)
|
||||||
|
- Type: change php to C/C++ [#3325](https://github.com/SpaceVim/SpaceVim/pull/3325)
|
||||||
|
- Improve lang#r layer [#3322](https://github.com/SpaceVim/SpaceVim/pull/3322)
|
||||||
|
- Skip home directory [#3321](https://github.com/SpaceVim/SpaceVim/pull/3321)
|
||||||
|
- feat: Add icons and git status to defx. [#3320](https://github.com/SpaceVim/SpaceVim/pull/3320)
|
||||||
|
- Improve project manager plugin [#3316](https://github.com/SpaceVim/SpaceVim/pull/3316)
|
||||||
|
- Improve flygrep [#3312](https://github.com/SpaceVim/SpaceVim/pull/3312)
|
||||||
|
- Update Wiki [#3310](https://github.com/SpaceVim/SpaceVim/pull/3310)
|
||||||
|
- Update doc [#3306](https://github.com/SpaceVim/SpaceVim/pull/3306)
|
||||||
|
- Improve scheme layer [#3299](https://github.com/SpaceVim/SpaceVim/pull/3299)
|
||||||
|
- Improve lint [#3291](https://github.com/SpaceVim/SpaceVim/pull/3291)
|
||||||
|
- Update branch name via job [#3280](https://github.com/SpaceVim/SpaceVim/pull/3280)
|
||||||
|
|
||||||
<!-- SpaceVim follow HEAD en end -->
|
<!-- SpaceVim follow HEAD en end -->
|
||||||
|
|
||||||
|
@ -11,59 +11,54 @@ The next release is v1.3.0:
|
|||||||
|
|
||||||
#### New Features
|
#### New Features
|
||||||
|
|
||||||
- Add lang#goby layer [#3055](https://github.com/SpaceVim/SpaceVim/pull/3055)
|
- Add backgroud task support [#3351](https://github.com/SpaceVim/SpaceVim/pull/3351)
|
||||||
- Add ~ keybinding for iedit [#3046](https://github.com/SpaceVim/SpaceVim/pull/3046)
|
- Add file copy key binding [#3348](https://github.com/SpaceVim/SpaceVim/pull/3348)
|
||||||
- add fish script support [#3033](https://github.com/SpaceVim/SpaceVim/pull/3033)
|
- Add tasks support [#3346](https://github.com/SpaceVim/SpaceVim/pull/3346)
|
||||||
- Add: add new layer lang#j [#3032](https://github.com/SpaceVim/SpaceVim/pull/3032)
|
- Add bang support for Alt file command [#3331](https://github.com/SpaceVim/SpaceVim/pull/3331)
|
||||||
- Add vertical split support [#2999](https://github.com/SpaceVim/SpaceVim/pull/2999)
|
- Add lang#janet layer [#3330](https://github.com/SpaceVim/SpaceVim/pull/3330)
|
||||||
- Add debug support for powershell [#2961](https://github.com/SpaceVim/SpaceVim/pull/2961)
|
- Add lang#xquery layer [#3327](https://github.com/SpaceVim/SpaceVim/pull/3327)
|
||||||
- Add additional bindings from coc.nvim for c layer [#2967](https://github.com/SpaceVim/SpaceVim/pull/2967)
|
- Add lang#lasso layer [#3314](https://github.com/SpaceVim/SpaceVim/pull/3314)
|
||||||
- Add Leader f f to fzf layer [#2971](https://github.com/SpaceVim/SpaceVim/pull/2971)
|
- Add lang#asepctj layer [#3313](https://github.com/SpaceVim/SpaceVim/pull/3313)
|
||||||
|
- Add lang#ring layer [#3311](https://github.com/SpaceVim/SpaceVim/pull/3311)
|
||||||
#### Feature Changes
|
- Add type support for A plugin [#3308](https://github.com/SpaceVim/SpaceVim/pull/3308)
|
||||||
|
- Add lang#wdl layer [#3307](https://github.com/SpaceVim/SpaceVim/pull/3307)
|
||||||
- Change: rename tags layer to gtags layer [#3030](https://github.com/SpaceVim/SpaceVim/pull/3030)
|
- Add icons and git status to defx [#3303](https://github.com/SpaceVim/SpaceVim/pull/3303)
|
||||||
- Change: fix csharp layer and update doc (#2935). [#3007](https://github.com/SpaceVim/SpaceVim/pull/3007)
|
- Add chez dialect for lang#scheme layer [#3302](https://github.com/SpaceVim/SpaceVim/pull/3302)
|
||||||
|
- Add support for config alt file [#3283](https://github.com/SpaceVim/SpaceVim/pull/3283)
|
||||||
|
- Add blog about code runner and REPL [#2390](https://github.com/SpaceVim/SpaceVim/pull/2390)
|
||||||
|
|
||||||
#### Bug Fixs
|
#### Bug Fixs
|
||||||
|
|
||||||
- Fixed typo 'yarked' to 'yanked' [#3059](https://github.com/SpaceVim/SpaceVim/pull/3059)
|
- fix: Make tmux layer use statusline_iseparator and added separators. [#3342](https://github.com/SpaceVim/SpaceVim/pull/3342)
|
||||||
- Fix keybindings for GitGutter Hunks [#3049](https://github.com/SpaceVim/SpaceVim/pull/3049)
|
- Fix(lsp): multiple language server registration bug [#3338](https://github.com/SpaceVim/SpaceVim/pull/3338)
|
||||||
- Fix install script [#3048](https://github.com/SpaceVim/SpaceVim/pull/3048)
|
- Fix compile info [#3329](https://github.com/SpaceVim/SpaceVim/pull/3329)
|
||||||
- Fixed output error where open file by flyGrep [#3041](https://github.com/SpaceVim/SpaceVim/pull/3041)
|
- Fix lua runtime path [#3317](https://github.com/SpaceVim/SpaceVim/pull/3317)
|
||||||
- Fix #2897 [#3021](https://github.com/SpaceVim/SpaceVim/pull/3021)
|
- Fix runner and repl [#3305](https://github.com/SpaceVim/SpaceVim/pull/3305)
|
||||||
- Fix: fugitive blame [#3006](https://github.com/SpaceVim/SpaceVim/pull/3006)
|
- Fix python runner [#3304](https://github.com/SpaceVim/SpaceVim/pull/3304)
|
||||||
- fix shortcuts/docs about marking spelling [#3003](https://github.com/SpaceVim/SpaceVim/pull/3003)
|
- Fix shell key binding [#3293](https://github.com/SpaceVim/SpaceVim/pull/3293)
|
||||||
- fix typos [#3000](https://github.com/SpaceVim/SpaceVim/pull/3000)
|
- Fix code runner [#3292](https://github.com/SpaceVim/SpaceVim/pull/3292)
|
||||||
- fix a map bug cscope[#2952](https://github.com/SpaceVim/SpaceVim/pull/2952)
|
- Fix minor typo 'opjects' -> 'objects' [#3284](https://github.com/SpaceVim/SpaceVim/pull/3284)
|
||||||
- Fix: Issue #2948 function call update from deoplete#mappings#smart_close_p… [#2954](https://github.com/SpaceVim/SpaceVim/pull/2954)
|
- Fix spc s a j text [#3281](https://github.com/SpaceVim/SpaceVim/pull/3281)
|
||||||
- Fix errors in Go layer shortcuts in the documentation [#2955](https://github.com/SpaceVim/SpaceVim/pull/2955)
|
|
||||||
- fix a map bug cscope[#2953](https://github.com/SpaceVim/SpaceVim/pull/2953)
|
|
||||||
- Fix typo [#2965](https://github.com/SpaceVim/SpaceVim/pull/2965)
|
|
||||||
- Fix typo in edit.md [#2970](https://github.com/SpaceVim/SpaceVim/pull/2970)
|
|
||||||
|
|
||||||
#### Unmarked PRs
|
#### Unmarked PRs
|
||||||
|
|
||||||
- Update crystal layer [#3067](https://github.com/SpaceVim/SpaceVim/pull/3067)
|
- Remove plugins [#3352](https://github.com/SpaceVim/SpaceVim/pull/3352)
|
||||||
- Denite fix [#3066](https://github.com/SpaceVim/SpaceVim/pull/3066)
|
- Ale owership transferred from w0rp to dense-analysis [#3345](https://github.com/SpaceVim/SpaceVim/pull/3345)
|
||||||
- Refactor lua initialization [#3065](https://github.com/SpaceVim/SpaceVim/pull/3065)
|
- Replace markdown preview plugins [#3337](https://github.com/SpaceVim/SpaceVim/pull/3337)
|
||||||
- deoplete and denite backward compatibility [#3058](https://github.com/SpaceVim/SpaceVim/pull/3058)
|
- Rust layer enhancement [#3336](https://github.com/SpaceVim/SpaceVim/pull/3336)
|
||||||
- Update hint desc [#3050](https://github.com/SpaceVim/SpaceVim/pull/3050)
|
- Improve general doc [#3333](https://github.com/SpaceVim/SpaceVim/pull/3333)
|
||||||
- detach iedit plugin [#3047](https://github.com/SpaceVim/SpaceVim/pull/3047)
|
- Update ring.md [#3328](https://github.com/SpaceVim/SpaceVim/pull/3328)
|
||||||
- urlescape spaces in font names [#3042](https://github.com/SpaceVim/SpaceVim/pull/3042)
|
- Type: change php to C/C++ [#3325](https://github.com/SpaceVim/SpaceVim/pull/3325)
|
||||||
- Googlegroups [#3040](https://github.com/SpaceVim/SpaceVim/pull/3040)
|
- Improve lang#r layer [#3322](https://github.com/SpaceVim/SpaceVim/pull/3322)
|
||||||
- Naming rules [#3037](https://github.com/SpaceVim/SpaceVim/pull/3037)
|
- Skip home directory [#3321](https://github.com/SpaceVim/SpaceVim/pull/3321)
|
||||||
- Python file head [#3036](https://github.com/SpaceVim/SpaceVim/pull/3036)
|
- feat: Add icons and git status to defx. [#3320](https://github.com/SpaceVim/SpaceVim/pull/3320)
|
||||||
- Improve file head support [#3034](https://github.com/SpaceVim/SpaceVim/pull/3034)
|
- Improve project manager plugin [#3316](https://github.com/SpaceVim/SpaceVim/pull/3316)
|
||||||
- Update cscope layer [#3023](https://github.com/SpaceVim/SpaceVim/pull/3023)
|
- Improve flygrep [#3312](https://github.com/SpaceVim/SpaceVim/pull/3312)
|
||||||
- Ctrlp message [#3022](https://github.com/SpaceVim/SpaceVim/pull/3022)
|
- Update Wiki [#3310](https://github.com/SpaceVim/SpaceVim/pull/3310)
|
||||||
- Improve: make ctrlp layer works better [#3015](https://github.com/SpaceVim/SpaceVim/pull/3015)
|
- Update doc [#3306](https://github.com/SpaceVim/SpaceVim/pull/3306)
|
||||||
- plugin install failed to call \_append_buf_line in WIN10 [#3011](https://github.com/SpaceVim/SpaceVim/pull/3011)
|
- Improve scheme layer [#3299](https://github.com/SpaceVim/SpaceVim/pull/3299)
|
||||||
- Update manager.vim [#3010](https://github.com/SpaceVim/SpaceVim/pull/3010)
|
- Improve lint [#3291](https://github.com/SpaceVim/SpaceVim/pull/3291)
|
||||||
- Website: Add git-plugin documentation to git layer [#3005](https://github.com/SpaceVim/SpaceVim/pull/3005)
|
- Update branch name via job [#3280](https://github.com/SpaceVim/SpaceVim/pull/3280)
|
||||||
- Version [#2956](https://github.com/SpaceVim/SpaceVim/pull/2956)
|
|
||||||
- Update version to v1.2.0-dev [#2732](https://github.com/SpaceVim/SpaceVim/pull/2732)
|
|
||||||
- On Windows, send CTRL+r if '+' register is not given [#2950](https://github.com/SpaceVim/SpaceVim/pull/2950)
|
|
||||||
|
|
||||||
<!-- SpaceVim follow HEAD en end -->
|
<!-- SpaceVim follow HEAD en end -->
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user