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

Add Windows key bindings (#2949)

Prevents confusion if someone expects the existing vim ctrl-w binding to work and shows how to paste.
https://vimhelp.org/terminal.txt.html#terminal-typing
This commit is contained in:
Steven Adger 2019-07-17 15:59:30 -07:00 committed by Wang Shidong
parent cdc60d8144
commit c239b5afb9

View File

@ -68,3 +68,11 @@ in percents with the variable `default_height`. Default value is 30.
| `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 |
### 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 `+` |
| `Ctrl-w` | Deletes the word before the cursor |