diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-06-17 16:23:34 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-06-17 16:23:34 +0200 |
commit | 942b4541a2d8e8df8369ab70e112dbbbe0c7c0aa (patch) | |
tree | 0fcb2f684a28b77e8397d39a2b9f4da84f873fbe /src/edit.c | |
parent | d595a1910c5672808e44afa028e253e47f03651f (diff) | |
download | vim-git-942b4541a2d8e8df8369ab70e112dbbbe0c7c0aa.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c index 326a382b5..3204ec31a 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; |