summaryrefslogtreecommitdiffstats
path: root/src/edit.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-06-17 16:23:34 +0200
committerBram Moolenaar <Bram@vim.org>2018-06-17 16:23:34 +0200
commit942b4541a2d8e8df8369ab70e112dbbbe0c7c0aa (patch)
tree0fcb2f684a28b77e8397d39a2b9f4da84f873fbe /src/edit.c
parentd595a1910c5672808e44afa028e253e47f03651f (diff)
patch 8.1.0064: typing CTRL-W in a prompt buffer shows mode "-- --"v8.1.0064
Problem: Typing CTRL-W in a prompt buffer shows mode "-- --". Solution: Set restart_edit to 'A' and check for it.
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c
index 326a382b54..3204ec31a7 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -1179,7 +1179,7 @@ doESCkey:
// In a prompt window CTRL-W is used for window commands.
// Use Shift-CTRL-W to delete a word.
stuffcharReadbuff(Ctrl_W);
- restart_edit = 'i';
+ restart_edit = 'A';
nomove = TRUE;
count = 0;
goto doESCkey;