patch 8.1.0035: not easy to switch between prompt buffer and other windows
Problem: Not easy to switch between prompt buffer and other windows.
Solution: Accept CTRL-W commands in Insert mode. Start and stop Insert mode
as one would expect.
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 82dd049..342dec2 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -7341,7 +7341,8 @@
{
if (eap->addr_count == 0)
ex_win_close(eap->forceit, curwin, NULL);
- else {
+ else
+ {
FOR_ALL_WINDOWS(win)
{
winnr++;