0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.1.0064: typing CTRL-W in a prompt buffer shows mode "-- --"

Problem:    Typing CTRL-W in a prompt buffer shows mode "-- --".
Solution:   Set restart_edit to 'A' and check for it.
This commit is contained in:
Bram Moolenaar
2018-06-17 16:23:34 +02:00
parent d595a1910c
commit 942b4541a2
4 changed files with 7 additions and 3 deletions

View File

@@ -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;