1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:30:04 +08:00

Update shell layer doc

close https://github.com/SpaceVim/SpaceVim/issues/3633
This commit is contained in:
Shidong Wang 2020-07-16 22:44:38 +08:00
parent 53a45dac41
commit 0646ed1ca3
2 changed files with 26 additions and 26 deletions

View File

@ -58,12 +58,12 @@ The default shell is quickly accessible via a the default shortcut key `SPC '`.
## 快捷键
| 快捷键 | 功能描述 |
| -------- | ---------------------------------- |
| ------------ | ---------------------------------- |
| `SPC '` | 打开或跳至已打开的终端窗口 |
| `Ctrl-d` | 输入模式下关闭终端窗口 |
| `q` | Normal 模式下隐藏终端窗口 |
| `<Esc>` | 从 Terminal 模式切换到 Normal 模式 |
| `Ctrl-h` | 切换到左侧窗口 |
| `Ctrl-j` | 切换到上方窗口 |
| `Ctrl-k` | 切换到下方窗口 |
| `Ctrl-l` | 切换到右侧窗口 |
| `Ctrl-Left` | 切换到左侧窗口 |
| `Ctrl-Up` | 切换到上方窗口 |
| `Ctrl-Down` | 切换到下方窗口 |
| `Ctrl-Right` | 切换到右侧窗口 |

View File

@ -60,20 +60,20 @@ in percents with the variable `default_height`. Default value is 30.
## Key bindings
| Key Binding | Description |
| ----------- | ---------------------------------------- |
| ------------ | ---------------------------------------- |
| `SPC '` | Open or switch to the terminal windows |
| `Ctrl-d` | Close terminal windows in terminal mode |
| `q` | Hide terminal windows in Normal mode |
| `<Esc>` | Switch to Normal mode from terminal mode |
| `Ctrl-h` | Switch to the windows on the left |
| `Ctrl-j` | Switch to the windows below |
| `Ctrl-k` | Switch to the windows on the top |
| `Ctrl-l` | Switch to the windows on the right |
| `Ctrl-Left` | Switch to the windows on the left |
| `Ctrl-Down` | Switch to the windows below |
| `Ctrl-Up` | Switch to the windows on the top |
| `Ctrl-Right` | Switch to the windows on the right |
### Additional key bindings on Windows
| Key Binding | Description |
| ----------- | ---------------------------------------- |
| ----------- | ---------------------------------- |
| `Ctrl-d` | Sends `exit <CR>` if at a prompt |
| `Ctrl-u` | Clears the line before the cursor |
| `Ctrl-r` | Pastes from clipboard if given `+` |