Mercurial > vim
diff src/structs.h @ 14035:bccd66fa00c1 v8.1.0035
patch 8.1.0035: not easy to switch between prompt buffer and other windows
commit https://github.com/vim/vim/commit/6d41c78e353b630bc1a72cbff9160311d2a81e8c
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jun 6 09:11:12 2018 +0200
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 06 Jun 2018 09:15:06 +0200 |
parents | dc67449d648c |
children | 2b227297a918 |
line wrap: on
line diff
--- a/src/structs.h +++ b/src/structs.h @@ -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 */