From c239b5afb9a84a604d0da11ea56edc03e15f1cdb Mon Sep 17 00:00:00 2001 From: Steven Adger Date: Wed, 17 Jul 2019 15:59:30 -0700 Subject: [PATCH] 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 --- docs/layers/shell.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/layers/shell.md b/docs/layers/shell.md index 614f9d13a..aebd9f689 100644 --- a/docs/layers/shell.md +++ b/docs/layers/shell.md @@ -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 ` 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 |