1
0
forked from aniani/vim

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

@@ -2360,6 +2360,8 @@ struct file_buffer
char_u *b_prompt_text; // set by prompt_setprompt()
char_u *b_prompt_callback; // set by prompt_setcallback()
partial_T *b_prompt_partial; // set by prompt_setcallback()
int b_prompt_insert; // value for restart_edit when entering
// a prompt buffer window.
#endif
#ifdef FEAT_MZSCHEME
void *b_mzscheme_ref; /* The MzScheme reference to this buffer */