1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 00:40:05 +08:00

doc(core): update doc of <Enter> key in filetree

This commit is contained in:
Shidong Wang 2021-10-01 21:48:03 +08:00
parent 3b6ad7f7d7
commit bc0bc6e345
No known key found for this signature in database
GPG Key ID: 41BB7053E835C848
2 changed files with 11 additions and 9 deletions

View File

@ -519,7 +519,7 @@ SpaceVim 在终端下默认使用了真色,因此使用之前需要确认下
| `SPC t b` | 切换背景色 |
| `SPC t c` | 切换 conceal 模式 |
| `SPC t p` | 切换 paste 模式 |
| `SPC t P` | 切换 auto parens 模式 |
| `SPC t P` | 切换 auto parens 模式 |
| `SPC t t` | 打开 Tab 管理器 |
| `SPC T ~` | 显示/隐藏 Buffer 结尾空行行首的 `~` |
| `SPC T F` | 切换全屏(TODO) |
@ -801,6 +801,7 @@ SpaceVim 的文件树提供了版本控制信息的接口,但是这一特性
| `<Down>` / `j` | 向下移动光标 |
| `<Up>` / `k` | 向上移动光标 |
| `<Right>` / `l` | 展开目录,或打开文件 |
| `<Enter>` | 切换目录,或打开文件 |
| `N` | 在光标位置新建文件 |
| `y y` | 复制光标下文件路径至系统剪切板 |
| `y Y` | 复制光标下文件至系统剪切板 |
@ -1694,14 +1695,14 @@ SpaceVim 使用 `search_highlight_persist` 保持当前搜索结果的高亮状
模糊搜索模块是一个强大的信息筛选浏览器,这类似于 Emacs 中的 [Helm](https://github.com/emacs-helm/helm)。
以下这些快捷键将帮助你快速获取需要的帮助信息:
| 快捷键 | 功能描述 |
| ----------- | -------------------------------------------------- |
| 快捷键 | 功能描述 |
| ----------- | ---------------------------------------------- |
| `SPC h SPC` | 使用模糊搜索模块展示 SpaceVim 帮助文档章节目录 |
| `SPC h i` | 使用模糊搜索模块获取光标下单词的帮助信息 |
| `SPC h g` | 异步执行`:helpgrep` |
| `SPC h G` | 异步执行`:helpgrep`,并搜索光标下的词 |
| `SPC h k` | 使用快捷键导航,展示 SpaceVim 所支持的前缀键 |
| `SPC h m` | 使用模糊搜索模块浏览所有 man 文档 |
| `SPC h i` | 使用模糊搜索模块获取光标下单词的帮助信息 |
| `SPC h g` | 异步执行`:helpgrep` |
| `SPC h G` | 异步执行`:helpgrep`,并搜索光标下的词 |
| `SPC h k` | 使用快捷键导航,展示 SpaceVim 所支持的前缀键 |
| `SPC h m` | 使用模糊搜索模块浏览所有 man 文档 |
注意:`SPC h i` 和 `SPC h m` 需要载入一个模糊搜索模块。

View File

@ -570,7 +570,7 @@ Some UI indicators can be toggled on and off (toggles start with t and T):
| `SPC t b` | toggle background |
| `SPC t c` | toggle conceal |
| `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 ~` | display ~ in the fringe on empty lines |
| `SPC T F` | toggle frame fullscreen |
@ -866,6 +866,7 @@ Navigation is centered on the `hjkl` keys with the hope of providing a fast navi
| `<Down>` / `j` | select next file or directory |
| `<Up>` / `k` | select previous file or directory |
| `<Right>` / `l` | open selected file or expand directory |
| `<Enter>` | open file or switch to directory |
| `N` | Create new file under cursor |
| `r` | Rename the file under cursor |
| `d` | Delete the file under cursor |