0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

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.
This commit is contained in:
Bram Moolenaar
2018-06-06 09:11:12 +02:00
parent adb8fbec4f
commit 6d41c78e35
5 changed files with 82 additions and 1 deletions

View File

@@ -7341,7 +7341,8 @@ ex_close(exarg_T *eap)
{
if (eap->addr_count == 0)
ex_win_close(eap->forceit, curwin, NULL);
else {
else
{
FOR_ALL_WINDOWS(win)
{
winnr++;